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

Name

Description

handle

handle loaded with the found element on success

key

key to look up

Created with MrDocs