BloombergLP::bsltf::setCopyMoveState

setCopyMoveState overloads

Synopses

Declared in <bsltf_copymovestate.h>

Set the object at the specified tracker address to the specified state. This function is an ADL customization point used by CopyMoveState::set(obj, state). The behavior is undefined unless CopyMoveState::isValid(state) is true.

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

Set the copy/move state of object at the specified obj address to the specified state. This function is an ADL customization point used by CopyMoveState::set(obj, state).

void
setCopyMoveState(
    MovableAllocTestType* obj,
    CopyMoveState::Enum state);
» more...

Do nothing. Called from CopyMoveState::set, this default implementation is called if a customized getCopyMoveState is not found via ADL for a specific type. Note that this overload is defined such that, if setCopyMoveState is customized for a type, the customization is "inherited" by derived types.

void
setCopyMoveState(
    void*,
    CopyMoveState::Enum);
» more...