__gnu_parallel::__count_if_selector.3cxx
Contents
Detailed Description
template<typename_It,typename_Diff>
struct __gnu_parallel::__count_if_selector< _It, _Diff >"std::count_if () selector.
Member Data Documentation
template<typename_It>_It__gnu_parallel::__generic_for_each_selector<_It>::_M_finish_iterator[inherited]
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).
Member Function Documentation
template<typename_It,typename_Diff>template<typename_Op>_Diff__gnu_parallel::__count_if_selector<_It,_Diff>::operator()(_Op&__o,_It__i)[inline]
Functor execution.
Parameters__o Operator.
__i iterator referencing object.
Returns
1 if count, 0 if does not count.
Name
__gnu_parallel::__count_if_selector< _It, _Diff > - std::count_if () selector.
Synopsis
#include <for_each_selectors.h>
Inherits __gnu_parallel::__generic_for_each_selector<_It>.
PublicMemberFunctions
template<typename _Op > _Diff operator() (_Op &__o, _It __i)
Functor execution.
PublicAttributes
_It _M_finish_iterator
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).
