BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslalg::TypeTraitBitwiseMoveable Struct Reference

#include <bslalg_typetraitbitwisemoveable.h>

Classes

struct  Metafunction
 
struct  NestedTraitDeclaration
 

Detailed Description

Objects of a type with this trait can be "moved" from one memory location to another using memmove or memcpy. Although the result of such a bitwise copy is two copies of the same object, this trait only guarantees that one of the copies can be destroyed. The other copy must be considered invalid and its destructor must not be called. Most types, even those that contain pointers, are bitwise moveable. Undefined behavior may result if this trait is assigned to a types that contains pointers to its own internals, use virtual inheritance, or places pointers to itself within other data structures.


The documentation for this struct was generated from the following file: