std::movable
Min standard notice:
Header: <concepts>
The concept movable
# Declarations
template< class T >
concept movable =
std::is_object_v<T> &&
std::move_constructible<T> &&
std::assignable_from<T&, T> &&
std::swappable<T>;
(since C++20)
Header: <concepts>
The concept movable
template< class T >
concept movable =
std::is_object_v<T> &&
std::move_constructible<T> &&
std::assignable_from<T&, T> &&
std::swappable<T>;
(since C++20)