#include <apibase.h>
Static Public Member Functions | |
template<typename SRC > | |
static | __attribute__ ((always_inline)) ResultOk< void > Copy(T &dst |
template<typename U > | |
static | __attribute__ ((always_inline)) ResultOk< void > AssignCopy(T &dst |
template<typename SRC > | |
static | __attribute__ ((always_inline)) T *Alloc(void *mem |
Public Attributes | |
static SRC && | src |
return | OK |
static const U & | src |
|
static |
Constructs an object using new (dst) T(src), cannot fail.
[out] | dst | Copied object will be placed here. |
[in] | src | Object to be copied. |
|
static |
Copy assignment, cannot fail.
[out] | dst | Copy will be placed here (dst must have already been constructed) |
[in] | src | Object to be copied. |
|
static |
needed for MAXON_IMPLEMENTATION
[out] | mem | Object will be constructed here (can be nullptr). |
[in] | src | Object to be moved or copied. |
static SRC && src |
return OK |
const U& src |