STD::NOT_EQUAL_TO(3cxx)

πŸŽ€ NAME πŸŽ€

std::not_equal_to< _Tp > β€” bestie, it's literally one of the comparison functors πŸ’… (yes, this is the 3cxx manual page, welcome)


✨ SYNOPSIS ✨

#include <functional>

Okay so it inherits from std::binary_function< _Tp, _Tp, bool > β€” that's the whole vibe, it just picks up everything from there 🫢

🌸 Public Types 🌸

  • typedef _Tp first_argument_type β€” first_argument_type is the type of the first argument, no cap ✨
  • typedef bool result_type β€” result_type is the return type, and yeah it's bool, it's giving yes-or-no energy
  • typedef _Tp second_argument_type β€” second_argument_type is the type of the second argument, twin of the first one πŸ¦‹

πŸ’– Public Member Functions πŸ’–

constexpr bool operator() (const _Tp &__x, const _Tp &__y) const

That's it. That's the whole member function list. Iconic, honestly πŸ‘‘


πŸ¦‹ Detailed Description πŸ¦‹

template<typename _Tp>
    struct std::not_equal_to< _Tp >

"One of the comparison functors." β€” that's the official energy and we're keeping it πŸ’€ It's a struct, it's templated on _Tp, and it does exactly one thing. Lowkey the most main-character-energy minimalism in the whole <functional> header 🌈


πŸ’œ Member Typedef Documentation πŸ’œ

These three are all [inherited] from std::binary_function< _Tp , _Tp , bool >, so like, don't come for this page about them, they live here too 🧚

  • typedef _Tp std::binary_function< _Tp , _Tp , bool >::first_argument_type β€” [inherited] β€” first_argument_type is the type of the first argument πŸŽ€
  • typedef bool std::binary_function< _Tp , _Tp , bool >::result_type β€” [inherited] β€” result_type is the return type ⭐
  • typedef _Tp std::binary_function< _Tp , _Tp , bool >::second_argument_type β€” [inherited] β€” second_argument_type is the type of the second argument 🌸

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code πŸ€– β€” yeah, no human wrote this, it's a whole machine moment, respect the pipeline tho πŸ’€


Fr fr that's the whole page β€” every type, every inherited typedef, the constexpr bool operator() signature, and the Doxygen credit. Not me being obsessed with a comparison functor 😭

Okay bye bestie, drink water, and remember: this page is from libstdc++ and it's the std::not_equal_to< _Tp >(3cxx) page β€” iykyk πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from