STD::EQUAL_TO(3cxx)
π NAME π
ok so <pink>std::equal_to< _Tp ></pink> β literally one of the comparison functors. that's the whole vibe, bestie π
β¨ SYNOPSIS β¨
#include <functional>
Inherits std::binary_function< _Tp, _Tp, bool >. yup, it's giving nepo baby β it gets all its typedefs from that parent π«Ά
πΈ Public Types πΈ
typedef _Tp first_argument_typeβfirst_argument_typeis the type of the first argument (iconic naming, no notes)typedef bool result_typeβresult_typeis the return type. it's a bool. it ate. βtypedef _Tp second_argument_typeβsecond_argument_typeis the type of the second argument, matching its sibling fr fr π
π Public Member Functions π
constexpr bool operator() (const _Tp &__x, const _Tp &__y) constβ the main character of the whole page, the actual call operator π
Detailed Description π
template<typename _Tp>
struct std::equal_to< _Tp >"One of the comparison functors.
(no cap, that π stray quote is just how it showed up in the source β copy it verbatim energy)
π«Ά quick reminder: _Tp is the template parameter, so you pick what type you're comparing. it's a template, it's flexible, it's versatile, it's that girl π
π Member Typedef Documentation π
these three are all marked [inherited] β they come from the parent, std::binary_function< _Tp , _Tp , bool >. inherited wealth, honestly π
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.
kk so that's the whole thing β every typedef, every member, all present and accounted for, nothing skipped, we do not cut corners in this house π
later bestie, this page was generated automatically by Doxygen for libstdc++ straight from the source code, and the header/footer tags are std::equal_to< _Tp >(3cxx) on both ends πβ¨π
π¦ 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