tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
count.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename InputIt, typename T>
constexpr auto count (InputIt first, InputIt last, T const &value) -> typename iterator_traits< InputIt >::difference_type
 Returns the number of elements in the range [first, last) satisfying specific criteria. Counts the elements that are equal to value.