__gnu_parallel::__count_if_selector< _It, _Diff >(3) Library Functions Manual __gnu_parallel::__count_if_selector< _It, _Diff >(3)

__gnu_parallel::__count_if_selector< _It, _Diff > - std::count_if () selector.

#include <for_each_selectors.h>

Inherits __gnu_parallel::__generic_for_each_selector< _It >.


template<typename _Op > _Diff operator() (_Op &__o, _It __i)
Functor execution.


_It _M_finish_iterator
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

struct __gnu_parallel::__count_if_selector< _It, _Diff >"std::count_if () selector.

Functor execution.

Parameters

__o Operator.
__i iterator referencing object.

Returns

1 if count, 0 if does not count.

_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++