26 Containers library [containers]

26.5 Unordered associative containers [unord]

26.5.4 Class template unordered_­map [unord.map] 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.