STD::MEM_FUN1_REF_T(3cxx)
πΈ NAME πΈ
Okay bestie, meet std::mem_fun1_ref_t< _Ret, _Tp, _Arg > β one of the adaptors for member pointers. This is the 3cxx manual page, and the class name is a whole mouthful, but weβre handling it. π
β¨ SYNOPSIS β¨
First things first, you gotta bring in <functional>:
#include <functional>
Then the inheritance tea: it inherits std::binary_function< _Tp, _Arg, _Ret >. Periodt.
π«Ά Public Types π«Ά
typedef _Tp first_argument_typeβfirst_argument_typeis the type of the first argument. iconic.typedef _Ret result_typeβresult_typeis the return type. slay.typedef _Arg second_argument_typeβsecond_argument_typeis the type of the second argument. periodt.
π Public Member Functions π
mem_fun1_ref_t (_Ret(_Tp::*__pf)(_Arg))β thatβs the exact signature, bestie. no cap._Ret operator() (_Tp &__r, _Arg __x) constβ the call operator signature, exactly as written. π¦
π« Detailed Description π«
Template realness:
template<typename _Ret, typename _Tp, typename _Arg>
class std::mem_fun1_ref_t< _Ret, _Tp, _Arg >
And the detailed description is literally: βOne of the adaptors for member pointers.β π
π§ Member Typedef Documentation π§
These are all inherited from std::binary_function< _Tp , _Arg , _Ret >, and the [inherited] tag is part of the official vibe. π
typedef _Tp std::binary_function< _Tp , _Arg , _Ret >::first_argument_type[inherited]βfirst_argument_typeis the type of the first argument.typedef _Ret std::binary_function< _Tp , _Arg , _Ret >::result_type[inherited]βresult_typeis the return type.typedef _Arg std::binary_function< _Tp , _Arg , _Ret >::second_argument_type[inherited]βsecond_argument_typeis the type of the second argument.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Doxygen ate and left no crumbs. β¨
okay bestie, final sign-off: source/version libstdc++, manual std::mem_fun1_ref_t< _Ret, _Tp, _Arg >(3cxx), and the date is not printed on this page β no invented dates, periodt. Bye! ππβ¨
π¦ 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