BloombergLP::bdlc::HashTable::find

Find an element having the specified key; load a handle to the element into the specified handle. Return true if successful, and false otherwise.

Synopsis

Declared in <bdlc_hashtable.h>

bool
find(
    Handle* handle,
    KEY const& key) const;

Return Value

true if an element was found, and false otherwise

Parameters

NameDescription
handlehandle loaded with the found element on success
keykey to look up