STD::__IS_TRIVIALLY_COPY_CONSTRUCTIBLE_IMPL(3cxx)
std::__is_trivially_copy_constructible_impl< _Tp, bool > π
okay bestie, welcome to the 3cxx manual β yes that's the libstdc++ corner of the man-page universe, and yes we're about to get deeply nerdy about a template you will probably never call by name. it's fine. it's giving β¨inner workingsβ¨. let's go. π¦
NAME π
std::__is_trivially_copy_constructible_impl< _Tp, bool > β literally the implementation-detail girl behind is_trivially_copy_constructible. she doesn't want fame, she just wants to tell you whether something can be trivially copy constructed. π
SYNOPSIS πΈ
Inherited by std::is_trivially_copy_constructible< _Tp >. that's it, that's the relationship. the public one is the main character, this one is the backstage crew. π«Ά
Detailed Description π§
okay so, the actual declaration is this, and we're keeping it exactly as-is because code is sacred:
template<typename _Tp, bool = __is_referenceable<_Tp>::value>
struct std::__is_trivially_copy_constructible_impl< _Tp, bool >"is_trivially_copy_constructible
yes, there really is a stray quote hanging out at the end there. not me fixing it. not my job. it's in the source, it's in the docs, we respect it. π
ngl, this is a detail template β the leading underscores are the universal sign for "do not touch, this is libstdc++'s business, not yours." lowkey iconic of the standard library to have a whole secret little struct just vibing in the headers. π
Definition lives at line 1143 of the file type_traits. yes, THE type_traits. that legendary header. 1143 lines deep and still slaying. π₯
Author β
Generated automatically by Doxygen for libstdc++ from the source code. so nobody actually wrote this prose β a robot did, and honestly? the robot ate. π€β¨
aaaand that's the whole page, bestie. π©· this was served up from the libstdc++ docs in the 3cxx manual β shoutout to Doxygen for generating it and to libstdc++ for existing so we could all be here. mwah, bye, go read type_traits if you're feeling brave ππ
π¦ 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