STD::POINTER_TO_BINARY_FUNCTION(3cxx)
π NAME π
okay so bestie, welcome to the std::pointer_to_binary_function< _Arg1, _Arg2, _Result > page from the (3cxx) manual β yes, the title is giving βtemplate final boss,β but weβre gonna get through it together. π
std::pointer_to_binary_function< _Arg1, _Arg2, _Result > is literally One of the adaptors for function pointers. thatβs the name, no cap.
β¨ SYNOPSIS β¨
#include <functional>
Inherits std::binary_function< _Arg1, _Arg2, _Result >.
πΈ Public Types πΈ
typedef _Arg1 first_argument_typeβfirst_argument_typeis the type of the first argument. iconic behavior, honestly.typedef _Result result_typeβresult_typeis the return type. she returns, therefore she is.typedef _Arg2 second_argument_typeβsecond_argument_typeis the type of the second argument. second but never second-best. β¨
π Public Member Functions π
pointer_to_binary_function (_Result(*__x)(_Arg1, _Arg2))β public member function, typed exactly like this. long name, immaculate vibe._Result operator() (_Arg1 __x, _Arg2 __y) constβ the other public member function, same energy, exact signature. periodt.
π‘οΈ Protected Attributes π‘οΈ
_Result(* _M_ptr )(_Arg1, _Arg2)β the protected attribute, exactly as written. itβs giving mysterious internal member, and we respect her privacy. π«Ά
π Detailed Description π
template<typename _Arg1, typename _Arg2, typename _Result>
class std::pointer_to_binary_function< _Arg1, _Arg2, _Result >"One of
the adaptors for function pointers.
yep, thatβs the detailed description: One of the adaptors for function pointers. the stray quote is in the original text and we are leaving it exactly where it is β preserve the lore, bestie. π«Ά
π Member Typedef Documentation π
π first_argument_type
template<typename _Arg1 , typename _Arg2 , typename _Result > typedef _Arg1 std::binary_function< _Arg1, _Arg2, _Result >::first_argument_type [inherited]
first_argument_type is the type of the first argument. also: [inherited], because she comes from std::binary_function< _Arg1, _Arg2, _Result >. iykyk. β¨
π result_type
template<typename _Arg1 , typename _Arg2 , typename _Result > typedef _Result std::binary_function< _Arg1, _Arg2, _Result >::result_type [inherited]
result_type is the return type. inherited too, of course. π
π second_argument_type
template<typename _Arg1 , typename _Arg2 , typename _Result > typedef _Arg2 std::binary_function< _Arg1, _Arg2, _Result >::second_argument_type [inherited]
second_argument_type is the type of the second argument. inherited, periodt. π
π¦ Author π¦
Generated automatically by Doxygen for libstdc++ from the source code.
cute sign-off: source/version is libstdc++, generated automatically by Doxygen for libstdc++ from the source code; footer tag: libststd::pointer_to...Arg2, _Result >(3cxx); date: not shown on this page, so no cap, we are not inventing one. mwah π
π¦ 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