__GNU_PARALLEL::__ADJACENT_DIFFERENCE_SELECTOR(3cxx)

hey bestie πŸ’– welcome to the 3cxx manual page for __gnu_parallel::__adjacent_difference_selector< _It >. The header line’s giving __gnu_parallel...selector< _It >(3cxx), and yes, she’s a whole template. Lowkey iconic.


🌸 NAME 🌸

__gnu_parallel::__adjacent_difference_selector< _It > β€” the selector that returns the difference between two adjacent __elements. That’s the whole vibe: adjacent-difference selector, no cap.


✨ SYNOPSIS ✨

#include <for_each_selectors.h>

Inherits __gnu_parallel::__generic_for_each_selector< _It >.

πŸ’… Public Member Functions πŸ’…

  • template<typename _Op > bool operator() (_Op &__o, _It __i) β€” the public member function signature, exactly as the page gives it. No extra lore, bestie.

πŸŽ€ Public Attributes πŸŽ€

  • _It _M_finish_iterator β€” _Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

πŸ¦‹ Detailed Description πŸ¦‹

template<typename _It>
struct __gnu_parallel::__adjacent_difference_selector< _It >

Selector that returns the difference between two adjacent __elements. She’s a struct, she’s a template, she’s doing adjacent-difference things. Periodt.


πŸ’– Member Data Documentation πŸ’–

🫢 inherited member

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()).


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.


Signed off by libstd__gnu_parallel...selector< _It >(3cxx) β€” source/version vibes are libstdc++, and no date is printed on the page, so I’m not inventing one. Mwah πŸ’‹βœ¨