__gnu_para...d_selector(3)
okay so bestie, welcome to the __gnu_parallel::adjacent_find_selector(3) page β it's chilling in the Library Functions Manual, and it is exactly what it sounds like: a selector that tests a predicate on two adjacent elements. adjacent. like two besties linking pinkies. the vibe is immaculate π
πΈ NAME πΈ
__gnu_parallel::adjacent_find_selector β Test predicate on two adjacent elements. π
β¨ SYNOPSIS β¨
Inherits __gnu_parallel::generic_find_selector.
π Public Member Functions π
These are the public member functions, kept exactly character-for-character because we do not mess with signatures, no cap:
template<typename RandomAccessIterator1 , typename RandomAccessIterator2
, typename Pred > bool operator() (RandomAccessIterator1 i1,
RandomAccessIterator2 i2, Pred pred)
template<typename RandomAccessIterator1 , typename RandomAccessIterator2
, typename Pred > std::pair< RandomAccessIterator1,
RandomAccessIterator2 > sequential_algorithm (RandomAccessIterator1
begin1, RandomAccessIterator1 end1, RandomAccessIterator2 begin2,
Pred pred)
π¦ Detailed Description π¦
Okay so the whole point: Test predicate on two adjacent elements.
Definition at line 80 of file find_selectors.h.
π₯ Member Function Documentation π₯
π __gnu_parallel::adjacent_find_selector::operator() π
Full signature, verbatim:
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 ,
typename Pred > bool __gnu_parallel::adjacent_find_selector::operator()
(RandomAccessIterator1 i1, RandomAccessIterator2 i2, Pred pred) [inline]
What it does: Test on one position. very demure. very mindful. β¨
Parameters:
i1β Iterator on first sequence.i2β Iterator on second sequence (unused). she's just there for moral support πpredβ Find predicate.
Definition at line 90 of file find_selectors.h.
π __gnu_parallel::adjacent_find_selector::sequential_algorithm π
Full signature, verbatim:
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 ,
typename Pred > std::pair<RandomAccessIterator1, RandomAccessIterator2>
__gnu_parallel::adjacent_find_selector::sequential_algorithm
(RandomAccessIterator1 begin1, RandomAccessIterator1 end1,
RandomAccessIterator2 begin2, Pred pred) [inline]
What it does: Corresponding sequential algorithm on a sequence. iconic behavior honestly π¦
Parameters:
begin1β Begin iterator of first sequence.end1β End iterator of first sequence.begin2β Begin iterator of second sequence.predβ Find predicate.
Definition at line 105 of file find_selectors.h.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. no human author, just automation serving looks π€π
And that's the whole page, bestie β brought to you by libstdc++, dated 21 Apr 2009, with footer energy that goes __gnu_para...d_selector(3). periodt πβ¨
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms