BloombergLP::bdlcc::StripedUnorderedContainerImpl::getValue

Load, into the specified *value, the value attribute of the first element (of possibly many elements) found in this hash map having the specified key. 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.

Synopsis

Declared in <bdlcc_stripedunorderedcontainerimpl.h>

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