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_type is the type of the argument. iconic typedef behavior.
  • typedef bool result_type β€” result_type is 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