#include <apibase.h>
Public Member Functions | |
if (dst->CopyFrom(src)==FAILED) | |
Static Public Member Functions | |
static Result< void > | Copy (T &dst, const T &src) |
template<typename U > | |
static | __attribute__ ((always_inline)) Result< void > AssignCopy(T &dst |
static | __attribute__ ((always_inline)) T *Alloc(void *mem |
template<typename SRC > | |
static | __attribute__ ((always_inline)) T *Alloc(void *mem |
Public Attributes | |
static const U & | src |
static const T & | src |
T * | dst |
return | dst |
static SRC && | src |
|
static |
Constructs an object using CopyFrom() (like new (dst) T(src) but with error check) If copy construction fails the object will be automatically destructed, dst will point to uninitialized memory like before the call.
[out] | dst | Copied object will be placed here. |
[in] | src | Object to be copied. |
|
static |
Copy assignment using CopyFrom()
[out] | dst | Copy will be placed here (dst must have already been constructed) |
[in] | src | Object to be moved. |
|
static |
|
static |
const U& src |
const T& src |
T* dst |
return dst |
SRC&& src |