#include <SmallVector.h>
Protected Member Functions | |
void | grow (size_t MinSize=0) |
SmallVectorTemplateBase (size_t Size) | |
![]() | |
iterator | capacity_ptr () |
const_iterator | capacity_ptr () const |
void | grow_pod (size_t MinSizeInBytes, size_t TSize) |
bool | isSmall () const |
void | resetToSmall () |
Put this vector in a state of being small. More... | |
void | setEnd (T *P) |
SmallVectorTemplateCommon (size_t Size) | |
![]() | |
void | grow_pod (void *FirstEl, size_t MinSizeInBytes, size_t TSize) |
SmallVectorBase (void *FirstEl, size_t Size) | |
Static Protected Member Functions | |
static void | destroy_range (T *S, T *E) |
template<typename It1 , typename It2 > | |
static void | uninitialized_copy (It1 I, It1 E, It2 Dest) |
template<typename It1 , typename It2 > | |
static void | uninitialized_move (It1 I, It1 E, It2 Dest) |
Additional Inherited Members | |
![]() | |
typedef const T * | const_iterator |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef ptrdiff_t | difference_type |
typedef T * | iterator |
typedef T * | pointer |
typedef T & | reference |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef size_t | size_type |
typedef T | value_type |
![]() | |
void * | BeginX |
void * | CapacityX |
void * | EndX |
SmallVectorTemplateBase<isPodLike = false> - This is where we put method implementations that are designed to work with non-POD-like T's.
Definition at line 200 of file SmallVector.h.
|
inlineprotected |
Definition at line 202 of file SmallVector.h.
|
inlinestaticprotected |
Definition at line 204 of file SmallVector.h.
|
protected |
Grow the allocated memory (without initializing new elements), doubling the size of the allocated memory. Guarantees space for at least one more element, or MinSize more elements if specified.
Definition at line 254 of file SmallVector.h.
|
inline |
Definition at line 246 of file SmallVector.h.
|
inline |
Definition at line 232 of file SmallVector.h.
|
inline |
Definition at line 239 of file SmallVector.h.
|
inlinestaticprotected |
Copy the range [I, E) onto the uninitialized memory starting with "Dest", constructing elements as needed.
Definition at line 222 of file SmallVector.h.
|
inlinestaticprotected |
Move the range [I, E) into the uninitialized memory starting with "Dest", constructing elements as needed.
Definition at line 214 of file SmallVector.h.