المتغيرات
فضاءات التسمية
أفعال

std::{{{1}}}::at

من cppreference.com
T& at( const Key& key );
(1) (since C++11)
const T & at( const Key& key ) const;
(2) (since C++11)

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.

محتويات

[تعديل] Parameters

key - the key of the element to find

[تعديل] Return value

Reference to the mapped value of the requested element

[تعديل] Exceptions

std::out_of_range‎ if the container does not have an element with the specified ‎key‎

[تعديل] Complexity

[تعديل] See also

قالب:dsc mem fun