Return the moved‐from state of the specified object.

Synopsis

Declared in <bsltf_movestate.h>

template<class TYPE>
bsltf::MoveState::Enum
getMovedFrom(TYPE const& object);

Description

The default implementation of this ADL customization point calls CopyMoveState::get and translates the result into the corresponding MoveState::Enum (which has been deprecated). Note that a customization of this function for a specific type will not be "inherited" by derived classes of that type; new types should customize copyMoveState, not getMovedFrom.

DEPRECATED: Use CopyMoveState::isMovedFrom or CopyMoveState::get.

Return Value

moved‐from state of object

Parameters

Name

Description

object

object whose moved‐from state is requested

Created with MrDocs