18 #ifndef ION_BASE_STLALLOC_ALLOCVECTOR_H_
19 #define ION_BASE_STLALLOC_ALLOCVECTOR_H_
65 template <
class IteratorT>
69 template <
class IteratorT>
72 AllocType(owner.GetNonNullAllocator())) {}
76 template <
typename ContainerT>
80 template <
typename ContainerT>
83 AllocType(owner.GetNonNullAllocator())) {}
93 AllocType(owner.GetNonNullAllocator())) {}
98 template <
typename T,
int N>
114 template <
class IteratorT>
118 template <
class IteratorT>
121 AllocType(owner.GetNonNullAllocator())) {}
125 template <
typename ContainerT>
129 template <
typename ContainerT>
132 AllocType(owner.GetNonNullAllocator())) {}
138 #endif // ION_BASE_STLALLOC_ALLOCVECTOR_H_
AllocVector(const Allocatable &owner, IteratorT first, IteratorT last)
InlinedAllocVector(const AllocatorPtr &alloc)
StlAllocator is derived std::allocator class that allows an Ion Allocator to be used for STL containe...
AllocVector(const AllocatorPtr &alloc, std::initializer_list< T > init)
These constructors allow AllocVector to be initialized using c++11's list initialization: AllocVector...
InlinedAllocVector(const AllocatorPtr &alloc, size_t n, const T &val)
InlinedAllocVector(const Allocatable &owner, const ContainerT &from)
InlinedAllocVector(const AllocatorPtr &alloc, IteratorT first, IteratorT last)
AllocationManager is a singleton class that is used to manage Allocators used to allocate Ion objects...
AllocVector(const Allocatable &owner, const ContainerT &from)
std::vector< T, AllocType > VectorType
InlinedAllocVector(const Allocatable &owner, IteratorT first, IteratorT last)
StlInlinedAllocator is a derived StlAllocator class that uses inlined storage for its first N element...
Allocatable is an abstract base class for classes whose memory is managed by an Allocator.
AllocVector(const Allocatable &owner, size_t n, const T &val)
AllocVector(const AllocatorPtr &alloc)
InlinedAllocVector(const Allocatable &owner)
std::vector< T, AllocType > VectorType
AllocVector(const Allocatable &owner)
AllocVector(const AllocatorPtr &alloc, IteratorT first, IteratorT last)
AllocVector(const AllocatorPtr &alloc, size_t n, const T &val)
InlinedAllocVectoris a similar to AllocVector, but uses inlined storage for its first N elements...
InlinedAllocVector(const AllocatorPtr &alloc, const ContainerT &from)
These constructors can be used to copy from "STL iterables": anything that provides a pair of compati...
AllocVector(const Allocatable &owner, std::initializer_list< T > init)
StlInlinedAllocator< T, N > AllocType
StlAllocator< T > AllocType
InlinedAllocVector(const Allocatable &owner, size_t n, const T &val)
AllocVector(const AllocatorPtr &alloc, const ContainerT &from)
These constructors can be used to copy from "STL iterables": anything that provides a pair of compati...
This class can be used in place of std::vector to allow an Ion Allocator to be used for memory alloca...