Return whether this object was the source of a move operation.
Synopsis
Declared in <bsltf_argumenttype.h>
MoveState::Enum
movedFrom() const;
Description
Return MoveState::e_MOVED if this object was the source of a move construction or move‐assignment operation, MoveState::e_NOT_MOVED if it was not the source of a move operation, and MoveState::e_UNKNOWN if its copy/move state is not known. Note that converting the result to bool will yield true if this object was moved from and false otherwise. Note also that the value returned by this accessor may change if this object is subsequently the target of an assignment.
DEPRECATED: Use CopyMoveState::isMovedFrom instead.
Return Value
e_MOVED, e_NOT_MOVED, or e_UNKNOWN for this object
Created with MrDocs