Rechercher une page de manuel
__gnu_parallel::count_if_selector
Langue: en
Version: 168259 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
__gnu_parallel::count_if_selector - std::count_if () selector.SYNOPSIS
Inherits generic_for_each_selector< It >.
Public Member Functions
template<typename Op > Diff operator() (Op &o, It i)
Public Attributes
It finish_iterator
Detailed Description
template<typename It, typename Diff> struct __gnu_parallel::count_if_selector< It, Diff >
std::count_if () selector.Definition at line 196 of file for_each_selectors.h.
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.
Definition at line 204 of file for_each_selectors.h.
Member Data Documentation
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 48 of file for_each_selectors.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre