19 #include "dtoolbase.h" 20 #include "memoryHook.h" 21 #include "deletedChain.h" 22 #include "typeHandle.h" 40 #ifndef USE_STL_ALLOCATOR 44 #define pallocator_single allocator 45 #define pallocator_array allocator 54 typedef TYPENAME allocator<Type>::pointer pointer;
55 typedef TYPENAME allocator<Type>::reference reference;
56 typedef TYPENAME allocator<Type>::const_pointer const_pointer;
57 typedef TYPENAME allocator<Type>::const_reference const_reference;
58 typedef TYPENAME allocator<Type>::size_type size_type;
65 _type_handle(copy._type_handle) { }
67 INLINE pointer allocate(size_type n, allocator<void>::const_pointer hint = 0);
68 INLINE
void deallocate(pointer p, size_type n);
82 typedef TYPENAME allocator<Type>::pointer pointer;
83 typedef TYPENAME allocator<Type>::reference reference;
84 typedef TYPENAME allocator<Type>::const_pointer const_pointer;
85 typedef TYPENAME allocator<Type>::const_reference const_reference;
86 typedef TYPENAME allocator<Type>::size_type size_type;
93 _type_handle(copy._type_handle) { }
95 INLINE pointer allocate(size_type n, allocator<void>::const_pointer hint = 0);
96 INLINE
void deallocate(pointer p, size_type n);
105 #include "pallocator.T" 107 #endif // USE_STL_ALLOCATOR
static TypeHandle none()
Returns a special zero-valued TypeHandle that is used to indicate no type.
This is our own Panda specialization on the default STL allocator.
TypeHandle is the identifier used to differentiate C++ class types.