__GNU_PARALLEL::FOR_EACH_SELECTOR(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

hiii bestie πŸ’– welcome to __gnu_para...ch_selector(3), the Library Functions Manual page for __gnu_parallel::for_each_selector. yes the title is abbreviated, iykyk β€” but the full name is right below, and it's giving very niche C++ energy. let's go πŸŽ€

✨ NAME ✨

  • __gnu_parallel::for_each_selector β€” it's literally a std::for_each() selector. periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

okay so the inheritance situation: it inherits generic_for_each_selector< It >.

Inherits generic_for_each_selector< It >.

πŸ’… Public Member Functions πŸ’…

  • template<typename Op > bool operator() (Op &o, It i)

πŸŽ€ Public Attributes πŸŽ€

  • It finish_iterator

🌸 Detailed Description 🌸

the full struct is this, bestie:

template<typename It> struct __gnu_parallel::for_each_selector< It >

and it is the std::for_each() selector, no cap. Definition at line 54 of file for_each_selectors.h.

πŸ’– Member Function Documentation πŸ’–

here's the member function, in all its inline glory:

template<typename It> template<typename Op > bool
    __gnu_parallel::for_each_selector< It >::operator() (Op & o, It i)
    [inline]

Functor execution. that's the whole flex.

Parameters:

  • o β€” Operator.
  • i β€” Iterator referencing object.

Definition at line 61 of file for_each_selectors.h.

🫢 Member Data Documentation 🫢

the inherited data member is:

It  __gnu_parallel::generic_for_each_selector< It  >::finish_iterator
    [inherited]

it's the 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. iconic automated behavior, honestly.


okay that's the whole page, bestie πŸ’… this is from libstdc++, dated 21 Apr 2009, and the footer names __gnu_para...ch_selector(3) β€” bye! πŸŽ€

πŸ“¦ where this page comes from