GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::__count_if_selector< _It, _Diff > Struct Template Reference

std::count_if () selector. More...

#include <for_each_selectors.h>

Inheritance diagram for __gnu_parallel::__count_if_selector< _It, _Diff >:
Collaboration diagram for __gnu_parallel::__count_if_selector< _It, _Diff >:

Public Member Functions

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

Public Attributes

_It _M_finish_iterator
 _Iterator on last element processed; needed for some algorithms (e. More...
 

Detailed Description

template<typename _It, typename _Diff>
struct __gnu_parallel::__count_if_selector< _It, _Diff >

std::count_if () selector.

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
__oOperator.
__iiterator referencing object.
Returns
1 if count, 0 if does not count.

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()).

Referenced by _GLIBCXX_VISIBILITY().


The documentation for this struct was generated from the following file: