__GNU_PARALLEL::COUNT_IF_SELECTOR(3)
π NAME π
okay bestie, youβre looking at the __gnu_parallel::count_if_selector page from the Library Functions Manual β¨ (the header trims the title to __gnu_para...if_selector(3), and that truncation is lowkey iconic π). This one is a std::count_if () selector β thatβs the whole name and the whole vibe. π
β¨ SYNOPSIS β¨
It inherits from generic_for_each_selector< It >, so thatβs the family tree π³.
Inherits generic_for_each_selector< It >.
πΈ Public Member Functions πΈ
template<typename Op > Diff operator() (Op &o, It i)β the public member function, shown exactly here because no cap we do not mess with signatures π
π Public Attributes π
It finish_iteratorβ the public attribute. Thatβs it, bestie. π«Ά
π¦ Detailed Description π¦
The struct is literally this:
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. Periodt. π
π₯ 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]
This is Functor execution. π«Ά
Parameters:
oβ Operator.iβ Iterator referencing object.
Returns: 1 if count, 0 if does not count. No notes, no extras, just that. π
Definition at line 204 of file for_each_selectors.h.
π Member Data Documentation π
It __gnu_parallel::generic_for_each_selector< It >::finish_iterator
[inherited]
Itβs the finish_iterator: βIterator on last element processed; needed for some algorithms (e. g. std::transform()).β Thatβs the inherited data tea βπ
Definition at line 48 of file for_each_selectors.h.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Doxygen ate and left no crumbs π
mwah π this pageβs footer energy is source/version libstdc++ and date 21 Apr 2009, with the footer title __gnu_para...if_selector(3). Bye bestie! π¦β¨
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms