BloombergLP::bslstl::UnorderedMapKeyConfiguration

This struct provides a namespace for key-configuration utilities used by bsl::unordered_map to extract keys from stored value objects.

Synopsis

Declared in <bslstl_unorderedmapkeyconfiguration.h>

template<
    class KEY,
    class VALUE_TYPE>
struct UnorderedMapKeyConfiguration;

Type Aliases

NameDescription
KeyType This typedef is an alias to the (template parameter) KEY.
ValueType This typedef is an alias to the (template parameter) VALUE_TYPE.

Static Member Functions

NameDescription
extractKey Return the member first of the specified object obj. obj.first must be of type VALUE_TYPE::first_type, which is the key portion of obj.

Specializations

NameDescription
UnorderedMapKeyConfiguration<basic_string<char> const, pair<basic_string<char> const, Json>> This struct provides a namespace for key-configuration utilities used by bsl::unordered_map to extract keys from stored value objects.