is_move_constructible class
Tests whether the type can be constructed by using a move operation.
C++
template <class T>
struct is_move_constructible;
T
The type to be evaluated.
A type predicate that evaluates to true
if the type T can be constructed by using a move operation. This predicate is equivalent to is_constructible<T, T&&>
. A type T that doesn't have a move constructor, but does have a copy constructor that accepts a const T&
argument, satisfies std::is_move_constructible
.
Header: <type_traits>
Namespace: std