BloombergLP::bslstl::UnorderedSetKeyConfiguration::extractKey

Given a specified object, return a reference to the KeyType contained within that object. In this case, the KeyType returned is simply the object itself.

Synopsis

Declared in <bslstl_unorderedsetkeyconfiguration.h>

static
UnorderedSetKeyConfiguration<VALUE_TYPE>::KeyType const&
extractKey(VALUE_TYPE const& object);

Return Value

const reference to the KeyType within object (the object itself)

Parameters

NameDescription
objectvalue from which the key is extracted