BloombergLP::bsltf::setCopyMoveState

Set the object at the specified tracker address to state.

Synopsis

Declared in <bsltf_copymovetracker.h>

void
setCopyMoveState(
    CopyMoveTracker* tracker,
    CopyMoveState::Enum state);

Description

This function is an ADL customization point used by CopyMoveState::set(obj, state). The behavior is undefined unless CopyMoveState::isValid(state) is true.

Parameters

NameDescription
trackeraddress of the tracker to update
statenew copy/move state