Skip to content
  • Mark Olesen's avatar
    ENH: provide HashTable::iterator::found() method · f2e3c1c4
    Mark Olesen authored
    - This can be used as a convenient alternative to comparing against end().
      Eg,
    
        dictionaryConstructorTable::iterator cstrIter =
            dictionaryConstructorTablePtr_->find(methodType);
    
        if (cstrIter.found())
        {
            ...
        }
      vs.
        if (cstrIter != dictionaryConstructorTablePtr_->end())
        {
            ...
        }
    f2e3c1c4