BloombergLP::bdlc::FlatHashMap::at

at overloads

Synopses

Declared in <bdlc_flathashmap.h>

Return a modifiable reference to the mapped value for key.

VALUE&
at(KEY const& key);
» more...

Return a const reference to the mapped value for key.

VALUE const&
at(KEY const& key) const;
» more...

Return a modifiable reference to the mapped value for key.

template<class LOOKUP_KEY>
VALUE&
at(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
         && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...

Return a const reference to the mapped value for key.

template<class LOOKUP_KEY>
VALUE const&
at(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
         && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...

Return Value

  • modifiable reference to the mapped value for key
  • const reference to the mapped value for key

Parameters

NameDescription
keykey whose mapped value is accessed