BloombergLP::bsltf::CopyMoveTracker::setCopyMoveState

Set this object's copy/move state to the specified state.

Synopsis

Declared in <bsltf_copymovetracker.h>

void
setCopyMoveState(CopyMoveState::Enum state);

Description

Set this object to the specified state, which might be the bitwise OR of e_MOVED_FROM and one of the other enumerator values. The behavior is undefined unless CopyMoveState::isValid(state) is true.

Parameters

NameDescription
statenew copy/move state