__gnu_para...ary_negate(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

hey bestie, welcome to the __gnu_para...ary_negate(3) page from the Library Functions Manual. πŸ’– This one is all about __gnu_parallel::unary_negate, and yes, the vibes are extremely C++ template.

🌸 NAME 🌸

__gnu_parallel::unary_negate β€” Similar to std::binder1st, but giving the argument types explicitly. That's the whole main-character summary. ✨

✨ SYNOPSIS ✨

Inherits unary_function< argument_type, bool >.

πŸ’… Public Types πŸ’…

  • typedef argument_type argument_type β€” the public typedef literally named argument_type, no cap. 🫢
  • typedef bool result_type β€” the public result_type typedef, and it's a bool. πŸ’–

πŸ¦‹ Public Member Functions πŸ¦‹

  • bool operator() (const argument_type &__x) β€” the call operator signature, exactly like this. ⭐
  • unary_negate (const _Predicate &__x) β€” the constructor-style member, taking a const _Predicate &__x. 🌸

πŸŽ€ Protected Attributes πŸŽ€

  • _Predicate _M_pred β€” the protected attribute, sitting there being all protected and predicate-y. πŸ’…

πŸ’– Detailed Description πŸ’–

Here's the class template realness, bestie:

template<typename _Predicate, typename argument_type> class
    __gnu_parallel::unary_negate< _Predicate, argument_type >

Similar to std::binder1st, but giving the argument types explicitly.

Definition at line 177 of file base.h.

🌈 Member Typedef Documentation 🌈

πŸ“ argument_type typedef, inherited πŸ“

typedef argument_type std::unary_function< argument_type , bool >::argument_type [inherited]

argument_type is the type of the argument (no surprises here).

Definition at line 102 of file stl_function.h.

🧚 result_type typedef, inherited 🧚

typedef bool std::unary_function< argument_type , bool >::result_type [inherited]

result_type is the return type.

Definition at line 105 of file stl_function.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. So yeah, the original was a Doxygen robot situation, and this is the bestie remix. πŸ’œ


source/version: libstdc++ Β· date: 21 Apr 2009 Β· page: __gnu_para...ary_negate(3) β€” that's the cute little footer sign-off, bestie. Bye! πŸ’…βœ¨

πŸ“¦ where this page comes from