28 #ifndef OVR_ContainerAllocator_h
29 #define OVR_ContainerAllocator_h
81 for (
UPInt i=0; i< count; ++i, pdata +=
sizeof(T))
87 memcpy(p, psource,
sizeof(T) * count);
95 memmove(dst, src, count *
sizeof(T));
100 memmove(dst, src, count *
sizeof(T));
117 OVR::Construct<T>(p);
122 OVR::Construct<T>(p, source);
129 OVR::ConstructAlt<T,S>(p, source);
135 for (
UPInt i=0; i< count; ++i, pdata +=
sizeof(T))
142 for (
UPInt i=0; i< count; ++i, pdata +=
sizeof(T))
149 for (
UPInt i=0; i< count; ++i, pdata +=
sizeof(T))
162 for (
UPInt i=0; i<count; ++i, --p)
168 memmove(dst, src, count *
sizeof(T));
173 memmove(dst, src, count *
sizeof(T));
190 OVR::Construct<T>(p);
195 OVR::Construct<T>(p, source);
202 OVR::ConstructAlt<T,S>(p, source);
208 for (
UPInt i=0; i< count; ++i, pdata +=
sizeof(T))
215 for (
UPInt i=0; i< count; ++i, pdata +=
sizeof(T))
222 for (
UPInt i=0; i< count; ++i, pdata +=
sizeof(T))
235 for (
UPInt i=0; i<count; ++i, --p)
241 for(
UPInt i = 0; i < count; ++i)
247 for(
UPInt i = count; i; --i)
static void CopyArrayBackward(T *dst, const T *src, UPInt count)
static void Construct(void *p)
static void ConstructArray(void *p, UPInt count, const T &source)
static void CopyArrayForward(T *dst, const T *src, UPInt count)
static void ConstructArray(void *p, UPInt count, const T &source)
static void Destruct(T *)
__BEGIN_NAMESPACE_STD void * memcpy(void *__restrict __dest, const void *__restrict __src, size_t __n) __THROW __nonnull((1
static void ConstructArray(void *p, UPInt count)
static void ConstructArray(void *p, UPInt count, const T *psource)
static void DestructArray(T *, UPInt)
static void * Realloc(void *p, UPInt newSize)
static void CopyArrayForward(T *dst, const T *src, UPInt count)
static void Destruct(T *p)
static void ConstructArray(void *, UPInt)
static void Construct(void *)
static void DestructArray(T *p, UPInt count)
__BEGIN_NAMESPACE_STD void void * memmove(void *__dest, const void *__src, size_t __n) __THROW __nonnull((1
static void * Alloc(UPInt size)
static void ConstructArray(void *p, UPInt count, const T *psource)
static void CopyArrayForward(T *dst, const T *src, UPInt count)
static void Destruct(T *p)
static void Construct(void *p, const T &source)
static void ConstructAlt(void *p, const S &source)
static void Free(void *p)
static void CopyArrayBackward(T *dst, const T *src, UPInt count)
static void Construct(void *p, const T &source)
#define OVR_REALLOC(p, s)
static void ConstructArray(void *p, UPInt count, const T &source)
static void CopyArrayBackward(T *dst, const T *src, UPInt count)
static void ConstructArray(void *p, UPInt count)
static void ConstructAlt(void *p, const S &source)
static void Construct(void *p)
static void ConstructAlt(void *p, const S &source)
static void DestructArray(T *p, UPInt count)
static void ConstructArray(void *p, UPInt count, const T *psource)
static void Construct(void *p, const T &source)