tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename InputIt, typename Predicate> | |
constexpr auto | count_if (InputIt first, InputIt last, Predicate p) -> typename iterator_traits< InputIt >::difference_type |
Returns the number of elements in the range [first, last) satisfying specific criteria. Counts elements for which predicate p returns true. | |