std::experi...es::Movable(3)
π NAME π
std::experimental::ranges::Movable - std::experimental::ranges::Movable β bestie, that's literally the name. This is the std::experimental::ranges::Movable(3) page from the C++ Standard Libary, and yes we're folding that manual-name energy in right here. π
β¨ Synopsis β¨
okay so here's the whole vibe, no cap:
Defined in header <experimental/ranges/concepts>
template< class T >
concept bool Movable =
std::is_object<T>::value && (ranges TS)
MoveConstructible<T> &&
Assignable<T&, T> &&
Swappable<T>;
The concept Movable<T> specifies that T is an object type that can be moved β that is, it can be move constructed, move assigned, and lvalues of type T can be swapped. π¦ slay.
Also, there need not be any subsumption relationship between Movable<T> and std::is_object<T>::value β that's the rule, no cap. π
π See also π
Copyableβ specifies that an object of a type can be copied, moved, and swapped (concept). π
source/version bestie: http://cppreference.com, date: 2024.06.10 β mwah, that's a wrap π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms