Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tests whether the type can be constructed by using a move operation.
Syntax
template <class T>
struct is_move_constructible;
Parameters
T
The type to be evaluated.
Remarks
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
.
Requirements
Header: <type_traits>
Namespace: std