MoveConstructible
C++ concepts: MoveConstructible (since C++11)
Specifies that an instance of the type can be constructed from an rvalue argument.
Requirements
The type T
satisfies MoveConstructible
if.
Given.
-
rv
, an rvalue expression of typeT
-
u
, an arbitrary identifier
The following expressions must be valid and have their specified effects.
Expression | Post-conditions |
---|---|
T u = rv; | The value of u is equivalent to the value of rv before the initialization.
|