at overloads
Synopses
Declared in <bslstl_unorderedmap.h>
Return a modifiable reference to the mapped value for key.
add_lvalue_reference<VALUE>::type
at(key_type const& key);
Return a const reference to the mapped value for key.
add_lvalue_reference<VALUE const>::type
at(key_type const& key) const;
Return a modifiable reference to the mapped value for key.
template<class LOOKUP_KEY>
add_lvalue_reference<VALUE>::type
at(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
&& BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
Return a const reference to the mapped value for an equivalent key.
template<class LOOKUP_KEY>
add_lvalue_reference<VALUE const>::type
at(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
&& BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
Return Value
-
modifiable reference to the mapped value
-
const reference to the mapped value
Parameters
Name |
Description |
key |
key to look up |
Created with MrDocs