__GNU_PARALLEL::__ACCUMULATE_BINOP_REDUCT(3cxx)

πŸ’– __gnu_parallel::__accumulate_binop_reduct< _BinOp > πŸ’–

okay bestie, welcome to the 3cxx manual page for __gnu_parallel::__accumulate_binop_reduct< _BinOp > in the libstdc++ C++ docs. This is the group-chat translation, but the facts are staying exactly where they are. Periodt. ✨


πŸŽ€ NAME πŸŽ€

__gnu_parallel::__accumulate_binop_reduct< _BinOp > β€” general reduction, using a binary operator. That’s the whole vibe: a reduction helper built around your binary operator. Slay. πŸ’…

✨ SYNOPSIS ✨

First up, include this header, bestie:

#include <for_each_selectors.h>

🫢 Public Member Functions

  • __accumulate_binop_reduct (_BinOp &__b) β€” the constructor, taking a _BinOp & named __b. Construction realness.
  • operator() β€” a templated call operator, and yes it’s giving main-character template energy:
template<typename _Result , typename _Addend > _Result operator() (const _Result &__x, const _Addend &__y)

It takes const _Result &__x and const _Addend &__y, and returns _Result. Obsessed with the specificity. 🌸

🌈 Public Attributes

  • _BinOp & __binop β€” a public reference to a _BinOp. That’s it, that’s the attribute. Iconic. πŸ¦‹

🧚 Detailed Description 🧚

template<typename _BinOp>
struct __gnu_parallel::__accumulate_binop_reduct< _BinOp >

General reduction, using a binary operator. That’s the description, and honestly it ate. This is a struct template over _BinOp. πŸ‘‘

tiny note: the original Doxygen line shows a weird stray " right before β€œGeneral” in that struct description β€” struct __gnu_parallel::__accumulate_binop_reduct< _BinOp >"General β€” so if you see that quote gremlin, that’s where it came from πŸ’€

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. Yup, the robots did this one, no human author to tag. 😭


Sign-off time, bestie: this page is for libstdc++ and was generated automatically by Doxygen; this copy doesn’t show a date, so I’m not inventing one. πŸ’–πŸ«Άβœ¨