14 static void Construct(
void* a_ptr,
const T& a_source)
16 ::new (a_ptr) T{ a_source };
22 ::new (a_ptr) T{ a_source };
27 T* ptr =
static_cast<T*
>(a_ptr);
28 for (
UPInt i = 0; i < a_count; ++i) {
36 for (
UPInt i = 0; i < count; ++i) {
44 for (
UPInt i = 0; i < a_count; ++i) {
57 for (
UPInt i = 0; i < a_count; ++i) {
64 std::memmove(a_dst, a_src, a_count *
sizeof(T));
69 std::memmove(a_dst, a_src, a_count *
sizeof(T));
77 static_assert(
sizeof(GConstructorMov<void*>) == 0x1);
Definition: GConstructorMov.h:7
static void ConstructArray(void *a_ptr, UPInt a_count)
Definition: GConstructorMov.h:25
static void ConstructAlt(void *a_ptr, const S &a_source)
Definition: GConstructorMov.h:20
static void Destruct(T *a_ptr)
Definition: GConstructorMov.h:49
static bool IsMovable()
Definition: GConstructorMov.h:72
static void Construct(void *a_ptr)
Definition: GConstructorMov.h:9
static void DestructArray(T *a_ptr, UPInt a_count)
Definition: GConstructorMov.h:54
static void CopyArrayForward(T *a_dst, const T *a_src, UPInt a_count)
Definition: GConstructorMov.h:62
static void Construct(void *a_ptr, const T &a_source)
Definition: GConstructorMov.h:14
static void CopyArrayBackward(T *a_dst, const T *a_src, UPInt a_count)
Definition: GConstructorMov.h:67
static void ConstructArray(void *a_ptr, UPInt count, const T &source)
Definition: GConstructorMov.h:33
static void ConstructArray(void *a_ptr, UPInt a_count, const T *a_source)
Definition: GConstructorMov.h:41
Definition: AbsorbEffect.h:6
std::size_t UPInt
Definition: SFTypes.h:5