__gnu_para...t_selector(3)
β¨ NAME β¨
okay bestie, welcome to the Library Functions Manual page for __gnu_para...t_selector(3) π
this one is __gnu_parallel::count_selector β literally the std::count() selector. periodt. π₯
π¦ SYNOPSIS π¦
inherits generic_for_each_selector< It >. no cap. π«Ά
π Public Member Functions π
template<typename Val > Diff operator() (Val &v, It i)β one public member function, exact signature, iykyk β¨
π Public Attributes π
It finish_iteratorβ a public attribute, bestie π
π Detailed Description π
okay so the template struct is giving:
template<typename It, typename Diff> struct __gnu_parallel::count_selector< It, Diff >
this is the std::count() selector. iconic π«
Definition at line 182 of file for_each_selectors.h.
π Member Function Documentation π
the way that this signature ate, fr fr:
template<typename It, typename Diff> template<typename Val > Diff __gnu_parallel::count_selector< It, Diff >::operator() (Val & v, It i) [inline]
Functor execution. that's the whole vibe.
Parameters:
vβ Current value.iβ Iterator referencing object.
Returns:
1 if count, 0 if does not count. slay.
Definition at line 190 of file for_each_selectors.h.
π§ Member Data Documentation π§
inherited data member moment:
It __gnu_parallel::generic_for_each_selector< It >::finish_iterator
[inherited] β Iterator on last element processed; needed for some algorithms (e. g. std::transform()). obsessed. π
Definition at line 48 of file for_each_selectors.h.
πΈ Author πΈ
Generated automatically by Doxygen for libstdc++ from the source code. no cap, that's the author note. π«Ά
kisses bestie π β this page is from libstdc++, dated 21 Apr 2009, for __gnu_para...t_selector(3). πβ¨
π¦ 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