- can be used as a more natural test on the iterator. For example, with HashTable<..> table; auto iter = table.find(...); Following are now all equivalent: 1. if (iter != table.end()) ... 2. if (iter.found()) ... 3. if (iter) ... |
||
---|---|---|
.. | ||
Make | ||
Test-hashSet.C |