BloombergLP::bsltf::TemplateTestFacility::setMovedIntoState

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

Synopsis

Declared in <bsltf_templatetestfacility.h>

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

Description

Has no effect if (template parameter) TYPE does not support move states.

Parameters

NameDescription
objectobject whose moved-into state is set
valuemoved-into state to assign