std::_Function_base(3cxx)
β¨ std::_Function_base β¨
okay bestie, buckle up β we're in libstdc++ land, section 3cxx, and this is the page for std::_Function_base π
πΈ NAME πΈ
std::_Function_base β the base class of literally all polymorphic function object wrappers, no cap π«Ά
π¦ SYNOPSIS π¦
#include <functional>
Inherited by std::function< _Res(_ArgTypes...)> [private] β yes, private inheritance, it's giving lowkey mysterious π
π Public Types π
using _Manager_type = bool(*)(_Any_data &, const _Any_data &, _Manager_operation)β the manager function pointer type. That's the whole signature, character for character, don't come for me π
π Public Member Functions π
bool _M_empty () constβ tells you whether it's empty. const-correct icon behavior π
β Public Attributes β
_Any_data _M_functorβ the functor storage itself, the main character π_Manager_type _M_managerβ the manager function pointer riding shotgun β¨
π Static Public Attributes π
static const size_t _M_max_alignβ max alignment, static const, we love a fixed value πstatic const size_t _M_max_sizeβ max size, also static const π
π Detailed Description π
Base class of all polymorphic function object wrappers. That's the vibe. That's the whole vibe. It's the foundation everything else is built on, fr fr ποΈπ
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, just a robot doing its little robot thing π€β¨
heads up bestie: this whole page was auto-generated by Doxygen, so if something looks a lil stiff, that's why β but the facts are all here, iykyk π―
and that's the whole page!! sourced straight from libstdc++, section 3cxx of the manual β mwah, love u, go read some source code π§ππ
π¦ 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