Set this object's value and copy/move state.

Synopsis

Declared in <bsltf_argumenttype.h>

void
set(
    int value,
    CopyMoveState::Enum state);

Description

Set this object to the specified value having the specified copy/move state. The behavior is undefined if the arguments would violate any class invariants, i.e., an invalid copy/move state, a value less than ‐1, or a moved‐from state with value other than ‐1.

Parameters

Name

Description

value

new integral value for this object

state

new copy/move state for this object

Created with MrDocs