STD::UNARY_NEGATE(3cxx)
π std::unary_negate< _Predicate > β 3cxx manual page π
okay bestie, welcome to the std::unary_negate< _Predicate > page from the 3cxx manual. it's giving βone of the negation functorsβ and honestly that's the whole vibe. π
πΈ NAME πΈ
std::unary_negate< _Predicate > - One of the negation functors. no cap, that's the name line, periodt. π
β¨ SYNOPSIS β¨
include it like this, bestie:
#include <functional>
It inherits from std::unary_function< _Predicate::argument_type, bool >. yes, that's the inheritance tea, exactly as written. π«Ά
π Public Types π
typedef _Predicate::argument_type argument_typeβargument_typeis the type of the argument. iconic typedef behavior.typedef bool result_typeβresult_typeis the return type. literally bool, bestie. β¨
π Public Member Functions π
- Constructor β exact signature:
constexpr unary_negate (const _Predicate &__x)
constexpr constructor moment. π§
- Call operator β exact signature:
constexpr bool operator() (const typename _Predicate::argument_type
&__x) const
this is the βcall it like a functionβ operator, and it's constexpr bool, and the argument type is const typename _Predicate::argument_type & named __x. slay. π₯
π¦ Protected Attributes π¦
_Predicate _M_predβ protected attribute. that's the attribute, no extra lore in the page, so I'm not inventing any. iykyk. πΈ
π Detailed Description π
here's the exact detailed description block, stray quote and all β do not @ me, I'm preserving the page:
template<typename _Predicate>
class std::unary_negate< _Predicate >"One of the negation functors.
so yeah: One of the negation functors. that's the whole detailed description vibe. πβ¨
π Member Typedef Documentation π
- Inherited
argument_typeβ exact text:
typedef _Predicate::argument_type std::unary_function<
_Predicate::argument_type , bool >::argument_type [inherited]
argument_type is the type of the argument β that's the documentation line, verbatim. iconic inherited energy. π
- Inherited
result_typeβ exact text:
typedef bool std::unary_function< _Predicate::argument_type , bool
>::result_type [inherited]
result_type is the return type β again, verbatim. inherited and unbothered. π«Ά
π Author π
Author: Generated automatically by Doxygen for libstdc++ from the source code.
that's the author line, bestie β Doxygen did it, not me. π
cute sign-off: source/version is libstdc++, the footer tag is 3cxx, and there's no date on the page so I'm not making one up β that's the whole footer vibe, periodt. πππ¦
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms