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 πβπ
π¦ where this page comes from
- ubuntu resolute: libstdc++-11-doc 11.5.0-11ubuntu2
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu stonking: libstdc++-11-doc 11.5.0-11ubuntu2
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms