__gnu_parallel::count_selector< It, Diff > Struct Template Reference

Inheritance diagram for __gnu_parallel::count_selector< It, Diff >:

Inheritance graph

List of all members.


Detailed Description

template<typename It, typename Diff>
struct __gnu_parallel::count_selector< It, Diff >

std::count() selector.

Definition at line 188 of file for_each_selectors.h.

Public Member Functions

Public Attributes


Member Function Documentation

template<typename It, typename Diff>
template<typename Val>
Diff __gnu_parallel::count_selector< It, Diff >::operator() ( Val &  v,
It  i 
) [inline]

Functor execution.

Parameters:
v Current value.
i Iterator referencing object.
Returns:
1 if count, 0 if does not count.

Definition at line 196 of file for_each_selectors.h.


Member Data Documentation

template<typename It>
It __gnu_parallel::generic_for_each_selector< It >::finish_iterator [inherited]

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

Definition at line 54 of file for_each_selectors.h.


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

Generated on Sat Oct 25 05:09:42 2008 for libstdc++ by  doxygen 1.5.6