This is all the non-templated stuff common to all SmallVectors. More...
#include <SmallVector.h>
Public Member Functions | |
size_t | size_in_bytes () const |
This returns size()*sizeof(T). | |
size_t | capacity_in_bytes () const |
capacity_in_bytes - This returns capacity()*sizeof(T). | |
bool | empty () const |
Protected Member Functions | |
SmallVectorBase (void *FirstEl, size_t Size) | |
void | grow_pod (void *FirstEl, size_t MinSizeInBytes, size_t TSize) |
This is an implementation of the grow() method which only works on POD-like data types and is out of line to reduce code duplication. More... | |
Protected Attributes | |
void * | BeginX |
void * | EndX |
void * | CapacityX |
This is all the non-templated stuff common to all SmallVectors.
Definition at line 56 of file SmallVector.h.
|
protected |
This is an implementation of the grow() method which only works on POD-like data types and is out of line to reduce code duplication.
grow_pod - This is an implementation of the grow() method which only works on POD-like datatypes and is out of line to reduce code duplication.
Definition at line 23 of file SmallVector.cpp.