22 #ifndef COMMON_MEMORY_H 23 #define COMMON_MEMORY_H 25 #include "common/scummsys.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++);
81 template<
class Type,
class Value>
84 new ((
void *)dst++)
Type(x);
void memset16(uint16 *dst, uint16 val, size_t count)
Type
Definition: system.h:121
Type * uninitialized_copy(In first, In last, Type *dst)
Definition: memory.h:59
Definition: algorithm.h:29
void uninitialized_fill_n(Type *dst, size_t n, const Value &x)
Definition: memory.h:82