[#BloombergLP-bdlc-FlatHashMap-operator_subs-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::operator&lsqb;&rsqb;
:relfileprefix: ../../../
:mrdocs:

Return a reference providing modifiable access to the mapped value associated with the a key equivalent to the specified `key` in this map&period; If this map does not already contain an element eqivalent to `key`, insert an element with the KEY constructed from `std&colon;&colon;forward&lt;LOOKUP&lowbar;KEY&gt;(k)` and a default&hyphen;constructed `VALUE`, and return a reference to the newly mapped value&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
VALUE&
operator&lsqb;&rsqb;(LOOKUP&lowbar;KEY&& key)
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;HASH, LOOKUP&lowbar;KEY&gt;&colon;&colon;value
         &amp;&amp; BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;EQUAL,LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
