Return a modifiable reference to the mapped value for key.

Synopses

Declared in <bdlc_flathashmap.h>

Return a modifiable reference to the mapped value for key.

Return a modifiable reference to the mapped value for key.

VALUE&
operator[](KEY const& key);

Return a modifiable reference to the mapped value for key.

template<class LOOKUP_KEY>
VALUE&
operator[](LOOKUP_KEY&& key)
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

Parameters

Name

Description

key

key whose mapped value is accessed (may be moved from)

Created with MrDocs