getMovedFrom overloads

Synopses

Declared in <bsltf_allocargumenttype.h>

Return the move‐from state of the specified object.

Return the move‐from state of the specified object.

Return the move‐from state of the specified object.

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.

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

Return the move‐from state of the specified object.

template<int N>
MoveState::Enum
getMovedFrom(AllocArgumentType<N> const& object);

Created with MrDocs