[#BloombergLP-bsltf-copyMoveState-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::copyMoveState :relfileprefix: ../../ :mrdocs: Return the copy/move state of the specified `obj`. == Synopsis Declared in `<bsltf_movablealloctesttype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[CopyMoveState::Enum] copyMoveState(xref:BloombergLP/bsltf/MovableAllocTestType.adoc[MovableAllocTestType] const& obj); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:BloombergLP/bsltf/MovableAllocTestType.adoc[MovableAllocTestType], 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::get(obj)`. == Return Value the copy/move state of `obj` == Parameters [cols="1,4"] |=== | Name| Description | *obj* | object whose copy/move state is requested |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#