[#BloombergLP-bdlc-FlatHashMap-at-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::at
:relfileprefix: ../../../
:mrdocs:

`at` overloads

== Synopses

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

Return a modifiable reference to the mapped value for `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
VALUE&
xref:BloombergLP/bdlc/FlatHashMap/at-070.adoc[at](KEY const& key);
----

[.small]#xref:BloombergLP/bdlc/FlatHashMap/at-070.adoc[_» more&period;&period;&period;_]#

Return a const reference to the mapped value for `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
VALUE const&
xref:BloombergLP/bdlc/FlatHashMap/at-0b.adoc[at](KEY const& key) const;
----

[.small]#xref:BloombergLP/bdlc/FlatHashMap/at-0b.adoc[_» more&period;&period;&period;_]#

Return a modifiable reference to the mapped value for `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
VALUE&
xref:BloombergLP/bdlc/FlatHashMap/at-0f.adoc[at](LOOKUP&lowbar;KEY const& 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]#xref:BloombergLP/bdlc/FlatHashMap/at-0f.adoc[_» more&period;&period;&period;_]#

Return a const reference to the mapped value for `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
VALUE const&
xref:BloombergLP/bdlc/FlatHashMap/at-076.adoc[at](LOOKUP&lowbar;KEY const& key) const
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]#xref:BloombergLP/bdlc/FlatHashMap/at-076.adoc[_» more&period;&period;&period;_]#

== Return Value

* modifiable reference to the mapped value for `key`
* const reference to the mapped value for `key`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key whose mapped value is accessed
|===


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