__gnu_parallel:...t_find_selector(3cxx)
π« NAME π«
__gnu_parallel::__adjacent_find_selector β bestie, it tests a predicate on two adjacent elements π
Quick vibe check before we dive in: this page lives in the __gnu_parallel corner of libstdc++, manual section 3cxx β that's the C++ library manual, iykyk. π¦
β¨ SYNOPSIS β¨
Include it like this, no cap:
#include <find_selectors.h>
It inherits from __gnu_parallel::__generic_find_selector β so it's giving "I'm a find selector, obviously" energy. π
πΈ Public Member Functions πΈ
template<typename _RAIter1 , typename _RAIter2 , typename _Pred > std::pair< _RAIter1, _RAIter2 > _M_sequential_algorithm (_RAIter1 __begin1, _RAIter1 __end1, _RAIter2 __begin2, _Pred __pred)β the corresponding sequential algorithm on a sequence, fr fr.template<typename _RAIter1 , typename _RAIter2 , typename _Pred > bool operator() (_RAIter1 __i1, _RAIter2 __i2, _Pred __pred)β tests on one position. One (1) position. That's the whole job. π
π¦ Detailed Description π¦
Test predicate on two adjacent elements. That's it, that's the icon. Two adjacent elements, one predicate, main character energy. β¨
π Member Function Documentation π
π _M_sequential_algorithm π
template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
std::pair< _RAIter1, _RAIter2 >
__gnu_parallel::__adjacent_find_selector::_M_sequential_algorithm
(_RAIter1 __begin1, _RAIter1 __end1, _RAIter2 __begin2, _Pred __pred) [inline]
Corresponding sequential algorithm on a sequence. It's marked [inline], so it's lowkey built different (affectionate). π
Parameters β the whole squad:
__begin1β Begin iterator of first sequence. π«Ά__end1β End iterator of first sequence. π«Ά__begin2β Begin iterator of second sequence. π«Ά__predβ Find predicate. The actual vibes-checker. π₯
π operator() π
template<typename _RAIter1 , typename _RAIter2 , typename _Pred > bool
__gnu_parallel::__adjacent_find_selector::operator() (_RAIter1 __i1,
_RAIter2 __i2, _Pred __pred) [inline]
Test on one position. Also [inline]. We stay winning. π
Parameters:
__i1β _Iterator on first sequence.__i2β _Iterator on second sequence (unused). Yes bestie, literally unused β it's there, it's cute, it's not doing anything. π__predβ Find predicate.
Heads up: keep the underscores exactly as written (__i1,__i2,__pred,_M_sequential_algorithm) β those leading underscores are part of the real names, not a typo moment. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, just a robot doing robot things. π€
okay that's the whole page, mwah π«Ά
This little man page dropped under the title __gnu_parallel:...t_find_selector(3cxx) β libstdc++, section 3cxx β and the footer it shipped with was libst__gnu_parallel:...t_find_selector(3cxx). Slay, go read find_selectors.h and stan a predicate. πΈ
π¦ 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