Load into *value the value for key, if present.

Synopsis

Declared in <bdlcc_stripedunorderedmap.h>

std::size_t
getValue(
    VALUE* value,
    KEY const& key) const;

Description

Return 1 on success and 0 if key does not exist in this hash map. Note that the return value equals the number of values returned.

Return Value

1 on success, and 0 if key does not exist

Parameters

Name

Description

value

receives the value attribute of the matching element

key

key of the element to look up

Created with MrDocs