Ion
|
InlinedAllocVectoris a similar to AllocVector, but uses inlined storage for its first N elements, then uses an Ion Allocator if that size is exceeded. More...
#include "allocvector.h"
Public Types | |
typedef StlInlinedAllocator< T, N > | AllocType |
typedef std::vector< T, AllocType > | VectorType |
Public Member Functions | |
InlinedAllocVector (const AllocatorPtr &alloc) | |
InlinedAllocVector (const Allocatable &owner) | |
InlinedAllocVector (const AllocatorPtr &alloc, size_t n, const T &val) | |
InlinedAllocVector (const Allocatable &owner, size_t n, const T &val) | |
template<class IteratorT > | |
InlinedAllocVector (const AllocatorPtr &alloc, IteratorT first, IteratorT last) | |
template<class IteratorT > | |
InlinedAllocVector (const Allocatable &owner, IteratorT first, IteratorT last) | |
template<typename ContainerT > | |
InlinedAllocVector (const AllocatorPtr &alloc, const ContainerT &from) | |
These constructors can be used to copy from "STL iterables": anything that provides a pair of compatible iterators via begin() and end(). More... | |
template<typename ContainerT > | |
InlinedAllocVector (const Allocatable &owner, const ContainerT &from) | |
Public Attributes | |
T | elements |
STL member. More... | |
InlinedAllocVectoris a similar to AllocVector, but uses inlined storage for its first N elements, then uses an Ion Allocator if that size is exceeded.
Definition at line 99 of file allocvector.h.
typedef StlInlinedAllocator<T, N> ion::base::InlinedAllocVector< T, N >::AllocType |
Definition at line 101 of file allocvector.h.
typedef std::vector<T, AllocType> ion::base::InlinedAllocVector< T, N >::VectorType |
Definition at line 102 of file allocvector.h.
|
inlineexplicit |
Definition at line 103 of file allocvector.h.
|
inlineexplicit |
Definition at line 105 of file allocvector.h.
|
inline |
Definition at line 108 of file allocvector.h.
|
inline |
Definition at line 111 of file allocvector.h.
|
inline |
Definition at line 115 of file allocvector.h.
|
inline |
Definition at line 119 of file allocvector.h.
|
inline |
These constructors can be used to copy from "STL iterables": anything that provides a pair of compatible iterators via begin() and end().
Definition at line 126 of file allocvector.h.
|
inline |
Definition at line 130 of file allocvector.h.