STD::_WEAK_RESULT_TYPE(3cxx)
β¨ NAME β¨
std::_Weak_result_type< _Functor > β bestie, this is a libstdc++ internal type (manual page 3cxx, C++ headers section) π
π SYNOPSIS π
#include <refwrap.h>
Inherits from std::_Weak_result_type_memfun< _Functor, bool >. π
Inherited by std::_Reference_wrapper_base< remove_cv< _Tp >::type >, and std::_Bind< _Functor(_Bound_args...)>. So yeah, it's the parent friend of some very main-character types π
π Detailed Description π
template<typename _Functor>
struct std::_Weak_result_type< _Functor >
Okay so lowkey what this one does is: strip the top-level cv-qualifiers off your function object, and then let _Weak_result_type_memfun do the actual work. That's it. That's the whole job. It's giving "middle management but make it templates" π and honestly? Iconic.
Definition at line 174 of file refwrap.h. Noted, fr fr π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, not a vibe curator, just a doc generator doing its little thing π€β¨
And that's the tea, bestie π« β this page came to you from libstdc++, on the 3cxx manual, so go forth and template responsibly. Mwah π
π¦ where this page comes from
- ubuntu noble: libstdc++-9-doc 9.5.0-6ubuntu2
- ubuntu noble: libstdc++-9-doc 9.5.0-6ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms