at overloads

Synopses

Declared in <bdlc_flathashmap.h>

Return a modifiable reference to the mapped value for key.

VALUE&
at(KEY const& key);

Return a const reference to the mapped value for key.

VALUE const&
at(KEY const& key) const;

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;

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;

Return Value

  • modifiable reference to the mapped value for key

  • const reference to the mapped value for key

Parameters

Name

Description

key

key whose mapped value is accessed

Created with MrDocs