WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
llvm::SmallVectorBase Class Reference

This is all the non-templated stuff common to all SmallVectors. More...

#include <SmallVector.h>

Inheritance diagram for llvm::SmallVectorBase:
llvm::SmallVectorTemplateCommon< T, typename > llvm::SmallVectorTemplateCommon< char > llvm::SmallVectorTemplateCommon< T > llvm::SmallVectorTemplateBase< char, isPodLike< char >::value > llvm::SmallVectorTemplateBase< T, isPodLike > llvm::SmallVectorTemplateBase< T, true > llvm::SmallVectorTemplateBase< T, isPodLike< T >::value > llvm::SmallVectorImpl< char > llvm::SmallVectorImpl< T > llvm::SmallVector< char, 256 > llvm::SmallVector< char, InternalLen > llvm::SmallVector< T, N > llvm::SmallString< InternalLen >

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 LLVM_ATTRIBUTE_UNUSED_RESULT 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
 

Detailed Description

This is all the non-templated stuff common to all SmallVectors.

Member Function Documentation

void SmallVectorBase::grow_pod ( void *  FirstEl,
size_t  MinSizeInBytes,
size_t  TSize 
)
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.


The documentation for this class was generated from the following files: