...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Count Values or Indexables stored in the container.
For indexable_type it returns the number of values which indexables equals the parameter. For value_type it returns the number of values which equals the parameter.
template<
typename ValueOrIndexable
>
size_type
count
(
ValueOrIndexable const &
vori
)
const
Type |
Name |
Description |
---|---|---|
|
|
The value or indexable which will be counted. |
The number of values found.
Nothing.