std::default_initializable(3cxx)
πΈ NAME πΈ
std::default_initializable β ok bestie, this is the [concept.defaultinitializable] vibe, aka the concept known as default_initializable. that's it, that's the name, she's iconic π
β¨ SYNOPSIS β¨
first things first, you gotta bring her in:
#include <concepts>
π Concept definition π
here's the whole look, no notes, copy it exactly:
template<typename _Tp>
concept std::default_initializable = constructible_from<_Tp>
&& requires
{
_Tp{};
(void) ::new _Tp;
}
π Detailed Description π
[concept.defaultinitializable], concept default_initializable. yeah. that's the whole description fr fr. short queen energy, she said what she said π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. (so like, not a human, a robot wrote this, and honestly? slay π€β¨)
and that's the page bestie!! brought to you by libstdc++ and the std::default_initializable(3cxx) section of the manual π no cap, go forth and default-initialize responsibly, ily, bye!! π¦πΈπ
π¦ where this page comes from
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- ubuntu stonking: libstdc++-16-doc 16.2.0-3ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms