__GNU_PARALLEL::IDENTITY_SELECTOR(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

✨ __GNU_PARALLEL::IDENTITY_SELECTOR(3) ✨

okay bestie, welcome to the Library Functions Manual entry for __gnu_parallel::identity_selector β€” the selector that literally just returns the passed iterator. it's giving β€œno thoughts, just iterator back” and honestly? iconic. πŸ’…


πŸ’– NAME πŸ’–

__gnu_parallel::identity_selector β€” Selector that just returns the passed iterator.

πŸ¦‹ SYNOPSIS πŸ¦‹

Inherits generic_for_each_selector< It >.

🌸 Public Member Functions 🌸

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

πŸŽ€ Public Attributes πŸŽ€

It finish_iterator

🌈 DETAILED DESCRIPTION 🌈

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

Selector that just returns the passed iterator.

Definition at line 254 of file for_each_selectors.h.

πŸŽ€ MEMBER FUNCTION DOCUMENTATION πŸŽ€

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

Functor execution. yep, that's the whole vibe: run the functor, hand the iterator right back.

Parameters:

  • o β€” Operator (unused).
  • i β€” Iterator referencing object.

Returns: Passed iterator.

Definition at line 262 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.


xoxo, source/version libstdc++, date 21 Apr 2009, page __gnu_para...ty_selector(3) β€” bye bestie, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from