[#BloombergLP-bsltf-CopyMoveState-0e-Enum] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/CopyMoveState-0e.adoc[CopyMoveState]::Enum :relfileprefix: ../../../ :mrdocs: Enumeration of copy/move state bit flags for test types. == Synopsis Declared in `<bsltf_copymovestate.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum Enum; ---- == Members [cols="1,4"] |=== | Name| Description | `e_ORIGINAL` | Object holds an original value. | `e_COPIED_INTO` | Object was copy‐constructed or assigned into. | `e_COPIED_CONST_INTO` | Copied from a const source. | `e_COPIED_NONCONST_INTO` | Copied from a non‐const source. | `e_MOVED_INTO` | Object was move‐constructed or assigned into. | `e_MOVED_FROM` | Object was used as the source of a move. | `e_UNKNOWN` | Copy/move state is not tracked for this type. | `e_MAX_ENUM` | Largest defined enumerator value. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/copyMoveState-00.adoc[`::BloombergLP::bsltf::copyMoveState`] | Return the state of the specified `tracker`. This function is an ADL customization point used by `CopyMoveState::get(obj)`. | xref:BloombergLP/bsltf/copyMoveState-01.adoc[`::BloombergLP::bsltf::copyMoveState`] | Return the copy/move state of the specified `obj`. This function is an ADL customization point used by `CopyMoveState::get(obj)`. | xref:BloombergLP/bsltf/copyMoveState-05.adoc[`::BloombergLP::bsltf::copyMoveState`] | Return the copy/move state of the specified `obj`. This function is an ADL customization point used by `CopyMoveState::get(obj)`. | xref:BloombergLP/bsltf/copyMoveState-0b.adoc[`::BloombergLP::bsltf::copyMoveState`] | Return `e_UNKWOWN`. Called from `CopyMoveState::get`, this default implementation is called if a customized `copyMoveState` is not found via ADL for a specific type. Note that this overload is defined such that, if `copyMoveState` is customized for a type, the customization is "inherited" by derived types. | xref:BloombergLP/bsltf/debugprint-0e2.adoc[`::BloombergLP::bsltf::debugprint`] | Print the specified `value` as a string. This is an ADL customization point. | xref:BloombergLP/bsltf/operator_not.adoc[`::BloombergLP::bsltf::operator!`] | Return `true` if `value` is `e_ORIGINAL`; otherwise return `false`. | xref:BloombergLP/bsltf/operator_not_eq-02c.adoc[`::BloombergLP::bsltf::operator!=`] | Return `true` if the integral values of the specified `a` and `b` do not compare equal; otherwise return `false`. | xref:BloombergLP/bsltf/operator_eq-008.adoc[`::BloombergLP::bsltf::operator==`] | Return `true` if the integral values of the specified `a` and `b` compare equal; otherwise return `false`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#