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