...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Find an element with a specific key.
const_iterator find( string_view key) const;
This function returns a constant iterator to the element matching key
if it exists, otherwise returns
end()
.
Constant on average, worst case linear in size()
.
No-throw guarantee.
Name |
Description |
---|---|
|
The key of the element to find. |