22 #ifndef COMMON_MEMORY_H 23 #define COMMON_MEMORY_H 25 #include "common/util.h" 49 void memset16(uint16 *dst, uint16 val,
size_t count);
50 void memset32(uint32 *dst, uint32 val,
size_t count);
51 void memset64(uint64 *dst, uint64 val,
size_t count);
58 template<
class In,
class Type>
61 new ((
void *)dst++)
Type(*first++);
70 template<
class In,
class Type>
93 template<
class Type,
class Value>
96 new ((
void *)dst++)
Type(x);
Type * uninitialized_move(In first, In last, Type *dst)
Definition: memory.h:71
void memset16(uint16 *dst, uint16 val, size_t count)
Type * uninitialized_copy(In first, In last, Type *dst)
Definition: memory.h:59
Definition: algorithm.h:29
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
void uninitialized_fill_n(Type *dst, size_t n, const Value &x)
Definition: memory.h:94