A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/unord.map.elem below:

[unord.map.elem]

26 Containers library [containers] 26.5 Unordered associative containers [unord] 26.5.4 Class template unordered_­map [unord.map] 26.5.4.3 unordered_­map element access [unord.map.elem]

mapped_type& operator[](const key_type& k);

Effects: Equivalent to: return try_­emplace(k).first->second;

mapped_type& operator[](key_type&& k);

Effects: Equivalent to: return try_­emplace(move(k)).first->second;

mapped_type& at(const key_type& k); const mapped_type& at(const key_type& k) const;

Returns: A reference to x.second, where x is the (unique) element whose key is equivalent to k.

Throws: An exception object of type out_­of_­range if no such element is present.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4