STD::IS_SWAPPABLE(3cxx)

✨ NAME ✨

std::is_swappable< _Tp > β€” metafunctions used for detecting swappable types: p0185r1. bestie this is the vibes-check for swap-ability ok πŸ’–


🌸 SYNOPSIS 🌸

#include <type_traits>

like that's literally it, that's the whole doorway πŸšͺ✨


πŸ’… DETAILED DESCRIPTION πŸ’…

okay so here's the tea πŸ“

template<typename _Tp>
    struct std::is_swappable< _Tp >

"Metafunctions used for detecting swappable types: p0185r1.

is_swappable

ngl the author basically whispered the whole description in one breath and called it a day 😭 but it's giving exactly what it says on the tin β€” a metafunction, and its job is checking whether a type can be swapped. p0185r1 is the paper that brought this whole situation into existence, iconic behavior fr fr πŸ‘‘


🫢 AUTHOR 🫢

Generated automatically by Doxygen for libstdc++ from the source code. no human wrote this by hand, the robot did it and honestly? it ate πŸ’…πŸ€–


heads up bestie: this page is auto-generated, so don't come for the formatting, come for the content πŸŽ€

okay that's the whole page, love u, go swap something safely πŸ’œ

this lil love letter to std::is_swappable< _Tp > came to you from libstdc++, man page section 3cxx β€” mwah, stan the standard library πŸŒˆβ­πŸ›