4#ifndef TETL_ALGORITHM_COUNT_HPP 
    5#define TETL_ALGORITHM_COUNT_HPP 
    7#include <etl/_iterator/iterator_traits.hpp> 
   21template <
typename InputIt, 
typename T>
 
   22[[nodiscard]] 
constexpr auto count(InputIt first, InputIt last, T 
const& value) ->
 
   26    for (; first != last; ++first) {
 
   27        if (*first == value) {
 
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....
Definition count.hpp:22
Definition adjacent_find.hpp:9
iterator_traits is the type trait class that provides uniform interface to the properties of LegacyIt...
Definition iterator_traits.hpp:48