BloombergLP::bdlcc::StripedUnorderedContainerImpl::getValue

Load the first value found for key into *value.

Synopsis

Declared in <bdlcc_stripedunorderedcontainerimpl.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. Note that the return value equals the number of values returned. Also note that, when there are multiple elements having key, the selection of "first" is implementation specific and subject to change.

Return Value

1 on success, and 0 if key does not exist

Parameters

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