STD::_ENABLE_DESTRUCTOR(3cxx)
π NAME π
std::_Enable_destructor< _Switch, _Tag > β a lil mixin helper whose whole job is to conditionally enable or disable the default destructor. That's it, that's the gig. π
This page lives in the 3cxx manual, bestie, so you know it's C++ library territory. β¨
πΈ SYNOPSIS πΈ
#include <enable_special_members.h>
And heads up β it's inherited by:
std::_Enable_special_members< _Default, _Destructor, _Copy, _CopyAssignment, _Move, _MoveAssignment, _Tag >
...but privately, so mind your business about it. π
π¦ DETAILED DESCRIPTION π¦
β¨ Template Declaration β¨
template<bool _Switch, typename _Tag = void>
struct std::_Enable_destructor< _Switch, _Tag >
A mixin helper to conditionally enable or disable the default destructor. Literally what it says on the tin β _Switch decides, and _Tag defaults to void so you don't even have to think about it. π
π See also
_Enable_special_members
iykyk, they run together. π«Ά
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, just a robot doing its little thing and honestly? Slay. π€π
okay that's the whole page, no cap β source is libstdc++, manual section 3cxx, and this came off the Doxygen pipeline. bye bestie, go enable some destructors (or don't, that's literally the point) πβ¨
π¦ 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