__GNU_PARALLEL::COUNT_IF_SELECTOR(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’– 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