BloombergLP::bdlcc::StripedUnorderedMap::getValue

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

NameDescription
valuereceives the value attribute of the matching element
keykey of the element to look up