18 #include "dtoolbase.h"
19 #include "pallocator.h"
20 #include "register_type.h"
23 #ifndef USE_STL_ALLOCATOR
38 class pdeque :
public deque<Type, pallocator_array<Type> > {
41 typedef TYPENAME deque<Type, allocator>::size_type size_type;
44 pdeque(size_type n,
TypeHandle type_handle = pdeque_type_handle) : deque<Type, pallocator_array<Type> >(n, Type(),
allocator(type_handle)) { }
45 pdeque(size_type n,
const Type &value,
TypeHandle type_handle = pdeque_type_handle) : deque<Type, pallocator_array<Type> >(n, value,
allocator(type_handle)) { }
48 #endif // USE_STL_ALLOCATOR
This is our own Panda specialization on the default STL deque.
TypeHandle is the identifier used to differentiate C++ class types.