Skip to content
  • Mark OLESEN's avatar
    ENH: allow direct testing of HashTable iterator as a bool · 3560884a
    Mark OLESEN authored
    - 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) ...
    3560884a