__gnu_para...e_selector(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’… __gnu_para...e_selector(3) πŸ’…

okay so bestie, welcome to __gnu_para...e_selector(3) from the Library Functions Manual β€” yes, the title is literally abbreviated with ellipses like that, and no, we are not fixing it. This one is short, sweet, and very niche. πŸ’–


🌸 NAME 🌸

__gnu_parallel::adjacent_difference_selector β€” a selector that returns the difference between two adjacent elements. That's the whole vibe. ✨


✨ SYNOPSIS ✨

Inherits generic_for_each_selector< It >.

🌟 Public Member Functions 🌟

  • template<typename Op > bool operator() (Op &o, It i) β€” yep, that's the call operator signature, copied exactly, no cap. πŸ’…

πŸŽ€ Public Attributes πŸŽ€

  • It finish_iterator β€” a public attribute, sitting right there in the synopsis. The inherited tea about it comes later. 🫢

πŸ’– Detailed Description πŸ’–

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

Selector that returns the difference between two adjacent elements. Lowkey iconic for exactly one job. πŸ¦‹

Definition at line 270 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. So no human author to thank, just Doxygen doing its little automated thing. πŸ™ˆ


bestie reminder: this page is literally just this selector, its inherited finish_iterator, and the exact file/line receipts. No extra options, no hidden flags, no invented behavior. πŸ’€

this page's source/version is libstdc++, dated 21 Apr 2009 β€” mwah, and that's the sign-off, periodt. πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from