Provided by: libstdc++6-4.4-doc_4.4.7-1ubuntu2_all bug


       __gnu_parallel::count_selector< It, Diff > -


       Inherits __gnu_parallel::generic_for_each_selector< It >.

   Public Member Functions
       template<typename Val > Diff operator() (Val &v, It i)

   Public Attributes
       It finish_iterator

Detailed Description

   template<typename It, typename Diff>struct __gnu_parallel::count_selector< It, Diff >
       std::count() selector.

       Definition at line 182 of file for_each_selectors.h.

Member Function Documentation

   template<typename It, typename Diff> template<typename Val > Diff
       __gnu_parallel::count_selector< It, Diff >::operator() (Val &v, Iti) [inline]
       Functor execution. Parameters:
           v Current value.
           i Iterator referencing object.

           1 if count, 0 if does not count.

       Definition at line 190 of file for_each_selectors.h.

Member Data Documentation

   template<typename It > It __gnu_parallel::generic_for_each_selector< It >::finish_iterator
       Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

       Definition at line 48 of file for_each_selectors.h.


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

libstdc++                                Mon Apr 16gnu1parallel::count_selector< It, Diff >(3cxx)