[#bsl-map-0c7-at-0f] = xref:bsl.adoc[bsl]::xref:bsl/map-0c7.adoc[map<int, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>]::at :relfileprefix: ../../ :mrdocs: `at` overloads == Synopses Declared in `<bslstl_map.h>` Return a reference providing modifiable access to the mapped‐value associated with the specified `key`, if such an entry exists; otherwise, throw a `std::out_of_range` exception. Note that this method may also throw a different kind of exception if the (user‐supplied) comparator throws. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/add_lvalue_reference-01/type.adoc[add_lvalue_reference<pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>::type] xref:bsl/map-0c7/at-00.adoc[at](xref:bsl/map-0c7/key_type.adoc[key_type] const& key); ---- [.small]#xref:bsl/map-0c7/at-00.adoc[_» more..._]# Return a reference providing non‐modifiable access to the mapped‐value associated with a key that is equivalent to the specified `key`, if such an entry exists; otherwise, throw a `std::out_of_range` exception. Note that this method may also throw a different kind of exception if the (user‐supplied) comparator throws. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/add_lvalue_reference-048/type.adoc[add_lvalue_reference<pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>> const>::type] xref:bsl/map-0c7/at-08.adoc[at](xref:bsl/map-0c7/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/map-0c7/at-08.adoc[_» more..._]# Return a reference providing modifiable access to the mapped‐value associated with a key that is equivalent to the specified `key`, if such an entry exists; otherwise, throw a `std::out_of_range` exception. Note that this method may also throw a different kind of exception if the (user‐supplied) comparator throws. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/add_lvalue_reference-01/type.adoc[add_lvalue_reference<pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>::type] xref:bsl/map-0c7/at-062.adoc[at](LOOKUP_KEY const& key) requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR, LOOKUP_KEY>::value; ---- [.small]#xref:bsl/map-0c7/at-062.adoc[_» more..._]# Return a reference providing non‐modifiable access to the mapped‐value associated with a key that is equivalent to the specified `key`, if such an entry exists; otherwise, throw a `std::out_of_range` exception. Note that this method may also throw a different kind of exception if the (user‐supplied) comparator throws. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/add_lvalue_reference-048/type.adoc[add_lvalue_reference<pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>> const>::type] xref:bsl/map-0c7/at-06e.adoc[at](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR, LOOKUP_KEY>::value; ---- [.small]#xref:bsl/map-0c7/at-06e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#