__GNU_PARALLEL::__IDENTITY_SELECTOR(3cxx)
π NAME π
__gnu_parallel::__identity_selector< _It > is the main character of this 3cxx manual page, bestie. Its whole personality is: Selector that just returns the passed iterator. No cap, that's the tea. π«Ά
β¨ SYNOPSIS β¨
Okay so first you gotta bring in the header:
#include <for_each_selectors.h>
It inherits from __gnu_parallel::__generic_for_each_selector< _It > β family tree, slay. π³
πΈ Public Member Functions πΈ
template<typename _Op > _It operator() (_Op __o, _It __i)β Functor execution. That's the one job, and it ate. π
π Public Attributes π
_It _M_finish_iteratorβ_Iteratoron last element processed; needed for some algorithms (e. g.std::transform()). Lowkey important for those transform girlies. β¨
π¦ Detailed Description π¦
Here's the struct line exactly, weird little quote mark and all β not me touching it, I promise:
template<typename _It>
struct __gnu_parallel::__identity_selector< _It >"Selector that just
returns the passed iterator.
The vibe check: it returns the iterator you passed in. That's it. That's the selector. Iconic minimalism. π
π Member Function Documentation π
π₯ operator() π₯
template<typename _It > template<typename _Op > _It
__gnu_parallel::__identity_selector< _It >::operator() (_Op __o, _It
__i) [inline]
Functor execution. Periodt. It's inline, it's cute, it's doing the functor thing. π
πΈ Parameters πΈ
__oβ Operator (unused). Not me ignoring him, he's literally marked unused. π__iβ iterator referencing object. This is the one that matters, bestie. π―
β¨ Returns β¨
Passed iterator. It gives you back exactly what you handed it. No plot twist. π¦
π Member Data Documentation π
π _M_finish_iterator π
template<typename _It > _It __gnu_parallel::__generic_for_each_selector< _It
>::_M_finish_iterator [inherited]
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()). Yes bestie, it's inherited β it comes from the generic selector side of the family. π
β Author β
Generated automatically by Doxygen for libstdc++ from the source code. So this page was not hand-written by a tumblr girl, it's Doxygen's child. Still iconic. πβ¨
Okay cute sign-off: the footer source/version string is libst__gnu_parallel:...selector< _It >(3cxx). There's no date shown in the page I was handed, so I'm not inventing one β fr fr, no cap. Bye bestie, go return that iterator. ππ¦β¨
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms