Return a modifiable reference to the mapped value for key.
Declared in <bdlc_flathashmap.h>
Return a modifiable reference to the mapped value for key.
VALUE&
operator[](bslmf::MovableRef<KEY> key);
» more...
Return a modifiable reference to the mapped value for key.
VALUE&
operator[](KEY const& key);
» more...
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;
» more...
modifiable reference to the mapped value for key
| Name | Description |
|---|---|
| key | key whose mapped value is accessed (may be moved from) |