Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.90.0.
Return true
if the key is found.
bool
contains(
string_view key) const noexcept;
This function returns true
if a key with the specified string is found.
return this->find(key) != this->end();
Constant on average, worst case linear in size().
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
The key of the element to find. |