[#BloombergLP-bsltf-CopyMoveTracker] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::CopyMoveTracker :relfileprefix: ../../ :mrdocs: Type that tracks whether it has been copied into, moved into, or moved from. == Synopsis Declared in `<bsltf_copymovetracker.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CopyMoveTracker; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/CopyMoveTracker/2constructor-03.adoc[`CopyMoveTracker`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-03.adoc[`operator=`] | Assignment operators | xref:BloombergLP/bsltf/CopyMoveTracker/copyMoveState.adoc[`copyMoveState`] | Return this object's state. | xref:BloombergLP/bsltf/CopyMoveTracker/hasUnknownCopyMoveState.adoc[`hasUnknownCopyMoveState`] | Return whether this object's copy/move state includes `e_UNKNOWN`. | xref:BloombergLP/bsltf/CopyMoveTracker/isCopiedConstInto.adoc[`isCopiedConstInto`] | Return whether this object was copied from a `const` lvalue. | xref:BloombergLP/bsltf/CopyMoveTracker/isCopiedInto.adoc[`isCopiedInto`] | Return whether this object was copied into. | xref:BloombergLP/bsltf/CopyMoveTracker/isCopiedNonconstInto.adoc[`isCopiedNonconstInto`] | Return whether this object was copied from a non‐`const` lvalue. | xref:BloombergLP/bsltf/CopyMoveTracker/isMovedFrom.adoc[`isMovedFrom`] | Return whether this object was moved from. | xref:BloombergLP/bsltf/CopyMoveTracker/isMovedInto.adoc[`isMovedInto`] | Return whether this object was moved into. | xref:BloombergLP/bsltf/CopyMoveTracker/isOriginal.adoc[`isOriginal`] | Return whether this object is in an original copy/move state. | xref:BloombergLP/bsltf/CopyMoveTracker/resetCopyMoveState.adoc[`resetCopyMoveState`] | Set this object to the `e_NOT_COPIED_OR_MOVE` state. | xref:BloombergLP/bsltf/CopyMoveTracker/setCopyMoveState.adoc[`setCopyMoveState`] | Set this object's copy/move state to the specified `state`. | xref:BloombergLP/bsltf/CopyMoveTracker/swapCopyMoveStates.adoc[`swapCopyMoveStates`] | Set the state of both the specified `this` and `b` objects to the bitwise OR of `e_MOVED_INTO` and `e_MOVED_FROM`. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bsltf/setCopyMoveState-0e.adoc[BloombergLP::bsltf::setCopyMoveState]` | Set the object at the specified `tracker` address to `state`. | `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/operator_not_eq-0f0.adoc[BloombergLP::bsltf::operator!=]` | Return whether two `CopyMoveTracker` objects have different values. | `xref:BloombergLP/bsltf/operator_eq-0844.adoc[BloombergLP::bsltf::operator==]` | Return whether two `CopyMoveTracker` objects have the same value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#