BloombergLP::bsltf::getMovedFrom

Return the moved-from state of the specified object of (template parameter) TYPE. The default implementation of this ADL customization point calls CopyMoveState::get and translates the result into the correpsonding 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.

Synopsis

Declared in <bsltf_movestate.h>

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

Description

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