STD::_ENABLE_SPECIAL_MEMBERS(3cxx)
π NAME π
std::_Enable_special_members< _Default, _Destructor, _Copy, _CopyAssignment, _Move, _MoveAssignment, _Tag > β bestie, it's a mixin helper that conditionally enables or disables the special members β¨ no cap.
π¦ SYNOPSIS π¦
#include <enable_special_members.h>
It inherits from std::_Enable_default_constructor< _Switch, _Tag >, std::_Enable_destructor< _Switch, _Tag >, and std::_Enable_copy_move< _Copy, _CopyAssignment, _Move, _MoveAssignment, _Tag >. it's giving inheritance moment π
πΈ Detailed Description πΈ
okay so here's the whole vibe:
template<bool _Default, bool _Destructor, bool _Copy, bool _CopyAssignment,
bool _Move, bool _MoveAssignment, typename _Tag = void>
struct std::_Enable_special_members< _Default, _Destructor, _Copy,
_CopyAssignment, _Move, _MoveAssignment, _Tag >
and literally what it is: a mixin helper to conditionally enable or disable the special members π₯
and the tea on _Tag: that type parameter exists so the mixin bases stay unique, which is how you dodge ambiguities. iconic behavior honestly π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. not a human wrote this one, it's a robot's roman empire π
so yeah bestie, that's the whole page from the 3cxx manual, auto-slapped together by Doxygen for libstdc++ straight from the source code π mwah, go compile something cute π«Ά
π¦ where this page comes from
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms