Moves from to to via a destructive copy.
If from is not a valid object, then accessing to will be undefined behaviour.
After the move operation, the original memory location of from will be reset to its base initialized state before any constructors are run.
The source of the move operation.
The destination of the move operation.
See Implementation
Moves from to to via a destructive copy.
If from is not a valid object, then accessing to will be undefined behaviour.
After the move operation, the original memory location of from will be reset to its base initialized state before any constructors are run.