BloombergLP::bsltf::CopyMoveState::get

Return the copy/move state of the specified obj.

Synopsis

Declared in <bsltf_copymovestate.h>

template<class TYPE>
static
CopyMoveState::Enum
get(TYPE const& obj);

Description

For the specified obj return copyMoveState(obj). Note that getCopyMoveState is an ADL customization point; if not customized for a specific TYPE, a default implementation returning e_UNKNOWN is invoked.

Return Value

the copy/move state of obj

Parameters

NameDescription
objobject whose copy/move state is requested