BloombergLP::bsltf::setCopyMoveState

Do nothing for types that do not customize this ADL point.

Synopsis

Declared in <bsltf_copymovestate.h>

void
setCopyMoveState(
    void* obj_p,
    CopyMoveState::Enum state);

Description

Called from CopyMoveState::set, this default implementation is called if a customized setCopyMoveState 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.

Parameters

NameDescription
obj_punused; present so the overload matches any object
stateunused; present so the signature matches the ADL point