indirectmap::find

Find the entry whose key dereferences to the given value.

Synopses

Declared in <indirectmap.h>

Find the entry whose key dereferences to the given value.

iterator
find(K const& key);
» more...

Find the entry whose key dereferences to the given value.

const_iterator
find(K const& key) const;
» more...

Return Value

  • An iterator to the found entry, or end() if not present.
  • A const iterator to the found entry, or end() if not present.

Parameters

NameDescription
keyThe value whose address is used as the lookup key.