35 #if !defined(USE_STL_ALLOCATOR) || defined(CPPPARSER)
39 #define pallocator_single std::allocator
40 #define pallocator_array std::allocator
49 typedef typename std::allocator<Type>::pointer pointer;
50 typedef typename std::allocator<Type>::reference reference;
51 typedef typename std::allocator<Type>::const_pointer const_pointer;
52 typedef typename std::allocator<Type>::const_reference const_reference;
53 typedef typename std::allocator<Type>::size_type size_type;
60 _type_handle(copy._type_handle) { }
62 INLINE Type *allocate(size_type n, std::allocator<void>::const_pointer hint = 0)
63 RETURNS_ALIGNED(MEMORY_HOOK_ALIGNMENT);
64 INLINE
void deallocate(pointer p, size_type n);
78 typedef typename std::allocator<Type>::pointer pointer;
79 typedef typename std::allocator<Type>::reference reference;
80 typedef typename std::allocator<Type>::const_pointer const_pointer;
81 typedef typename std::allocator<Type>::const_reference const_reference;
82 typedef typename std::allocator<Type>::size_type size_type;
89 _type_handle(copy._type_handle) { }
91 INLINE Type *allocate(size_type n, std::allocator<void>::const_pointer hint = 0)
92 RETURNS_ALIGNED(MEMORY_HOOK_ALIGNMENT);
93 INLINE
void deallocate(pointer p, size_type n);
102 #include "pallocator.T"
104 #endif // USE_STL_ALLOCATOR