STD::IS_NOTHROW_ASSIGNABLE(3cxx)
πΈ std::is_nothrow_assignable< _Tp, _Up > πΈ
okay bestie, welcome to the <type_traits> corner of the libstdc++ man pages (section 3cxx, yes ma'am π
). This one's a header-only little icon and honestly it's giving "short but important".
β¨ NAME β¨
std::is_nothrow_assignable< _Tp, _Up > β literally just is_nothrow_assignable. That's the whole name, no notes. π
β¨ SYNOPSIS β¨
#include <type_traits>
That's it, that's the include. π¦
And it inherits __is_nothrow_assignable_impl< _Tp, _Up >. Like, that's its whole personality β it's a subclass of the impl. slay.
π Detailed Description π
okay so here's the actual declaration, and you know we're keeping it character for character:
template<typename _Tp, typename _Up>
struct std::is_nothrow_assignable< _Tp, _Up >
and the compiler-generated blurb attached to it just says: "is_nothrow_assignable. Riveting. Iconic. No further comment from the documentation team. π
Two template params, _Tp and _Up, both typename, both doing their little main-character thing. That's the entire struct. It inherits from __is_nothrow_assignable_impl< _Tp, _Up > (as mentioned up in the synopsis, so yes I'm repeating myself, that's called consistency bestie). β¨
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
so nobody actually wrote this with their hands, the robots did it, and honestly they ate. π€π
π Sign-off π
okay that's the whole page, we love a short one. This little gem came to you from libstdc++, section 3cxx of the manual β and the footer was nice enough to repeat the title back at us one more time (the date part lowkey got eaten by the ... in the title, so like, Β―\_(γ)_/Β―, no cap). go forth and type-check some assignability, 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