[#BloombergLP-bdlc-FlatHashMap-at-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::at :relfileprefix: ../../../ :mrdocs: Return a modifiable reference to the mapped value for `key`. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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; ---- == Description Return a reference providing modifiable access to the mapped value associated with a key that is equivalent to the specified `key` in this map, if such an entry exists; otherwise throw a `std::out_of_range` exception. Note that this method is not exception‐neutral. == Return Value modifiable reference to the mapped value for `key` == Parameters [cols="1,4"] |=== | Name| Description | *key* | transparent key whose mapped value is accessed |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#