Enumeration of copy/move state bit flags for test types.
Declared in <bsltf_copymovestate.h>
enum Enum;
| 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. |
| Name | Description |
|---|---|
::BloombergLP::bsltf::copyMoveState | Return the state of the specified tracker. This function is an ADL customization point used by CopyMoveState::get(obj). |
::BloombergLP::bsltf::copyMoveState | Return the copy/move state of the specified obj. This function is an ADL customization point used by CopyMoveState::get(obj). |
::BloombergLP::bsltf::copyMoveState | Return the copy/move state of the specified obj. This function is an ADL customization point used by CopyMoveState::get(obj). |
::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. |
::BloombergLP::bsltf::debugprint | Print the specified value as a string. This is an ADL customization point. |
::BloombergLP::bsltf::operator! | Return true if value is e_ORIGINAL; otherwise return false. |
::BloombergLP::bsltf::operator!= | Return true if the integral values of the specified a and b do not compare equal; otherwise return false. |
::BloombergLP::bsltf::operator== | Return true if the integral values of the specified a and b compare equal; otherwise return false. |