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);

NOTE

This function is a hidden friend of CopyMoveTracker, declared only inside that class: it can be found only through argument-dependent lookup.

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