Namespace for enumerators and helpers describing copy/move history of test objects.

Synopsis

Declared in <bsltf_copymovestate.h>

struct CopyMoveState;

Enums

Name

Description

Enum

Enumeration of copy/move state bit flags for test types.

Static Member Functions

Name

Description

get

Return the copy/move state of the specified obj.

isCopiedConstInto

Return true if, for the specified v, CopyMoveState::get(v) includes the e_COPIED_CONST_INTO bits but not e_UNKNOWN.

isCopiedInto

Return true if, for the specified v, CopyMoveState::get(v) includes the e_COPIED_INTO bit but not e_UNKNOWN; otherwise return false.

isCopiedNonconstInto

Return true if, for the specified v, CopyMoveState::get(v) includes the e_COPIED_NONCONST_INTO bits but not e_UNKNOWN.

isMovedFrom

Return true if, for the specified v, CopyMoveState::get(v) includes the e_MOVED_FROM bit but not e_UNKNOWN; otherwise return false.

isMovedInto

Return true if, for the specified v, CopyMoveState::get(v) includes the e_MOVED_INTO bit but not e_UNKNOWN; otherwise return false.

isOriginal

Return whether v is an original value, not copied or moved into.

isUnknown

Return true if, for the specified v, CopyMoveState::get(v) includes the e_UNKNOWN bit; otherwise return false.

isValid

Return whether val is a valid CopyMoveState::Enum value.

set

Set the copy/move state of the object at obj_p to state.

toAscii

Return the string representation of the specified enumerator value.

Created with MrDocs