at overloads
Declared in <bslstl_unorderedmap.h>
Return a reference providing modifiable access to the mapped-value associated with the specified key, if such an entry exists; otherwise throw std::out_of_range exception. Note that this method is not exception-neutral.
add_lvalue_reference<VALUE>::type
at(key_type const& key);
» more...
Return a reference providing non-modifiable access to the mapped-value associated with the specified key, if such an entry exists; otherwise throw a std::out_of_range exception. Note that this method is not exception-neutral.
add_lvalue_reference<VALUE const>::type
at(key_type const& key) const;
» more...
Return a reference providing modifiable access to the mapped-value associated with a key that is equivalent to the specified key, if such an entry exists; otherwise, throw a std::out_of_range exception. Note that this method may also throw a different kind of exception if the (user-supplied) comparator throws.
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;
» more...
Return a reference providing non-modifiable access to the mapped-value associated with a key that is equivalent to the specified key, if such an entry exists; otherwise, throw a std::out_of_range exception. Note that this method may also throw a different kind of exception if the (user-supplied) comparator throws.
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;
» more...