std::map<Key,T,Compare,Allocator>::at
| T& at( const Key& key ); |
(1) | |
| const T& at( const Key& key ) const; |
(2) | |
Returns a reference to the mapped value of the element with key equivalent to key. If no such element exists, an exception of type std::out_of_range is thrown.
Contents |
[edit] Parameters
| key | - | the key of the element to find |
[edit] Return value
Reference to the mapped value of the requested element
[edit] Exceptions
std::out_of_range if the container does not have an element with the specified key
[edit] Complexity
Logarithmic in the size of the container.
[edit] See also
| access or insert specified element (public member function) |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
