Set the moved‐into state of the specified object to the specified value. The default implementation of this ADL customization point calls CopyMoveState::set and translates value into the correpsonding CopyMoveState::Enum. 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 setCopyMoveState, not setMovedInto.

Synopsis

Declared in <bsltf_movestate.h>

template<class TYPE>
void
setMovedInto(
    TYPE* object,
    MoveState::Enum value);

Description

DEPRECATED: Use CopyMoveState::set instead.

Created with MrDocs