STD::IS_NOTHROW_COPY_CONSTRUCTIBLE(3cxx)
πΈ std::is_nothrow_copy_constructible< _Tp > β a 3cxx manual page, bestie edition πΈ
okay so you found yourself a libstdc++ page, and it's a 3cxx one, which means it's a C++ header thing, not a "type this into your terminal and pray" thing. buckle up π
β¨ NAME β¨
std::is_nothrow_copy_constructible< _Tp > β literally the trait called is_nothrow_copy_constructible. that's the whole name. it's giving "what it says on the tin" π
π¦ SYNOPSIS π¦
#include <type_traits>
Inherits __is_nothrow_constructible_impl< _Tp, __add_lval_ref_t< const _Tp > >.
no cap, that inheritance line is the whole personality. it's a type trait built on top of another type trait, which is built on top of... you get it, it's traits all the way down π«Ά
π Detailed Description π
template<typename _Tp>
struct std::is_nothrow_copy_constructible< _Tp >
"is_nothrow_copy_constructible" β yes that quote mark situation is exactly how it shows up in the page, and yes it is a little unhinged of it π
so here's the vibe check: it's a struct, it's templated on _Tp, and its entire job is answering the question "can you copy-construct a _Tp without it throwing?" β that's the question it exists to answer, and the name is just very online about it. main character energy for a compile-time bool, honestly π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. so nobody hand-wrote this one β Doxygen spat it out, libstdc++ provided the material, and we're all just living in its world π
β a cute sign-off β
and that's the page! source/version realness: this is a libstdc++ manpage, in the 3cxx manual, and the footer date did not survive the trip through the header mangling π β the last line just reads libstdstd::is_nothro...ructible< _Tp >(3cxx) which is lowkey the most Gen Z footer ever, all truncated and dramatic π
go forth and static_assert responsibly, bestie πΈβ¨π¦
π¦ 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