8#ifndef INCLUDED_BSLTF_COPYMOVESTATE
9#define INCLUDED_BSLTF_COPYMOVESTATE
208#include <bslscm_version.h>
241 template <
class TYPE>
242 static Enum get(
const TYPE& obj);
246 template <
class TYPE>
252 template <
class TYPE>
257 template <
class TYPE>
263 template <
class TYPE>
269 template <
class TYPE>
276 template <
class TYPE>
281 template <
class TYPE>
294 template <
class TYPE>
295 static void set(TYPE *obj_p,
Enum state);
423 static const unsigned long long
442 return (1ULL << val) & k_VALID_MASK;
476 return CopyMoveState::e_UNKNOWN;
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bsltf_allocargumenttype.h:92
bool operator!=(const AllocBitwiseMoveableTestType &lhs, const AllocBitwiseMoveableTestType &rhs)
void setCopyMoveState(void *, CopyMoveState::Enum)
bool operator!(CopyMoveState::Enum value)
Return true if value is e_ORIGINAL; otherwise return false.
void debugprint(const ArgumentType< N > &object)
Definition bsltf_argumenttype.h:551
CopyMoveState::Enum copyMoveState(bslmf::MatchAnyType)
bool operator==(const AllocBitwiseMoveableTestType &lhs, const AllocBitwiseMoveableTestType &rhs)
Any type can be converted into this type.
Definition bslmf_matchanytype.h:150
Definition bsltf_copymovestate.h:219
Enum
Definition bsltf_copymovestate.h:222
@ e_COPIED_NONCONST_INTO
Definition bsltf_copymovestate.h:228
@ e_COPIED_INTO
Definition bsltf_copymovestate.h:226
@ e_MAX_ENUM
Definition bsltf_copymovestate.h:232
@ e_UNKNOWN
Definition bsltf_copymovestate.h:231
@ e_COPIED_CONST_INTO
Definition bsltf_copymovestate.h:227
@ e_MOVED_INTO
Definition bsltf_copymovestate.h:229
@ e_ORIGINAL
Definition bsltf_copymovestate.h:225
@ e_MOVED_FROM
Definition bsltf_copymovestate.h:230
static const char * toAscii(CopyMoveState::Enum value)
static void set(TYPE *obj_p, Enum state)
Definition bsltf_copymovestate.h:413
static bool isUnknown(const TYPE &v)
Definition bsltf_copymovestate.h:407
static Enum get(const TYPE &obj)
Definition bsltf_copymovestate.h:364
static bool isCopiedInto(const TYPE &v)
Definition bsltf_copymovestate.h:376
static bool isMovedInto(const TYPE &v)
Definition bsltf_copymovestate.h:395
static bool isValid(Enum val)
Definition bsltf_copymovestate.h:418
static bool isOriginal(const TYPE &v)
Definition bsltf_copymovestate.h:401
static bool isCopiedNonconstInto(const TYPE &v)
Definition bsltf_copymovestate.h:382
static bool isCopiedConstInto(const TYPE &v)
Definition bsltf_copymovestate.h:370
static bool isMovedFrom(const TYPE &v)
Definition bsltf_copymovestate.h:389