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_typeis the type of the first argument, no cap β¨typedef bool result_typeβresult_typeis the return type, and yeah it'sbool, it's giving yes-or-no energytypedef _Tp second_argument_typeβsecond_argument_typeis 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_typeis the type of the first argument πtypedef bool std::binary_function< _Tp , _Tp , bool >::result_typeβ [inherited] βresult_typeis the return type βtypedef _Tp std::binary_function< _Tp , _Tp , bool >::second_argument_typeβ [inherited] βsecond_argument_typeis 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
- 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