__gnu_para...ent_reduct(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’… NAME πŸ’…

__gnu_parallel::min_element_reduct β€” bestie, it's a reduction for finding the maximum element, using a comparator. yes, you read that right. maximum. we're gonna talk about it. 🫢


✨ SYNOPSIS ✨

okay so here's the whole vibe of this struct, no cap:

template<typename Comp, typename It>
struct __gnu_parallel::min_element_reduct< Comp, It >

🌸 Public Member Functions 🌸

  • min_element_reduct (Comp &c) β€” the constructor, taking a comparator by reference. it's giving "just hand me the Comp, bestie." πŸ’…
  • It operator() (It x, It y) β€” the call operator, takes two Its and gives you back an It. literally iconic behavior. ✨

πŸŽ€ Public Attributes πŸŽ€

  • Comp & comp β€” a reference to the comparator. she's public, she's holding a Comp &, she's lowkey the whole personality of this struct. πŸ’–

πŸ¦‹ Detailed Description πŸ¦‹

okay so picture this: template<typename Comp, typename It> struct __gnu_parallel::min_element_reduct< Comp, It >.

and what does she do? she's a reduction for finding the maximum element, using a comparator. periodt. yes, "maximum." yes, the name says min_element_reduct. we don't make the rules, we just report them fr fr 😭.

ngl bestie, I'm just telling you what the page says. min_element_reduct but the description says maximum. that's the lore. don't shoot the messenger πŸ’€

and where does she live? Definition at line 308 of file for_each_selectors.h. line three-oh-eight. remember it. write it down. tattoo it on your forearm. 🧚


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. so like, no human author to thank, just Doxygen doing its little automagic thing. slay, I guess. ⭐


kay so that's the whole page, bestie. this little gem is from the Library Functions Manual, and the footer vibes are: libstdc++, dated 21 Apr 2009. yes, 2009. she's vintage. she's an elder. treat her with respect. πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from