libstdc++
__gnu_parallel::__count_selector Struct Reference
Inheritance diagram for __gnu_parallel::__count_selector:

List of all members.

Public Member Functions

Public Attributes


Detailed Description

std::count() selector.


Member Function Documentation

template<typename _ValueType >
_Diff __gnu_parallel::__count_selector::operator() ( _ValueType &  __v,
_It  __i 
) [inline]

Functor execution.

Parameters:
__vCurrent value.
__iiterator referencing object.
Returns:
1 if count, 0 if does not count.

Definition at line 188 of file for_each_selectors.h.


Member Data Documentation

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

Definition at line 47 of file for_each_selectors.h.


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