__gnu_para...ent_reduct(3)
π NAME π
okay bestie, welcome to __gnu_para...ent_reduct(3) from the Library Functions Manual β yes, the manual name is folded in right here at the top, slay π
. The star of the show is __gnu_parallel::max_element_reduct, and it's literally a reduction for finding the maximum element, using a comparator. Periodt.
β¨ SYNOPSIS β¨
Here's the public API vibe check, no cap:
π«Ά Public Member Functions
max_element_reduct (Comp &c)β a public member function that takesComp &c.It operator() (It x, It y)β the call operator; it takesIt xandIt yand returnsIt.
π Public Attributes
Comp & compβ the public attribute, a reference toCompnamedcomp.
π Detailed Description π
The struct definition is giving main character energy:
template<typename Comp, typename It> struct
__gnu_parallel::max_element_reduct< Comp, It >
It's literally a reduction for finding the maximum element, using a comparator. Obsessed.
Definition at line 327 of file for_each_selectors.h β iykyk π.
π Author π
This page was generated automatically by Doxygen for libstdc++ from the source code β not me, I'm just the messenger π«Ά.
mwah π β source/version libstdc++, date 21 Apr 2009, page __gnu_para...ent_reduct(3).
π¦ 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