BloombergLP::bsltf::setMovedInto

setMovedInto overloads

Synopses

Declared in <bsltf_movabletesttype.h>

Set the moved-into state of the specified object to the specified value.

void
setMovedInto(
    MovableTestType* object,
    MoveState::Enum value);
» more...

Set the moved-into state of the specified object to the specified value.

void
setMovedInto(
    MoveOnlyAllocTestType* object,
    MoveState::Enum value);
» more...

Set the moved-into state of the specified object to the specified value.

void
setMovedInto(
    WellBehavedMoveOnlyAllocTestType* object,
    MoveState::Enum value);
» more...

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.

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