LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
llvm::SmallVectorStorage< T, N > Struct Template Reference

#include <SmallVector.h>

Collaboration diagram for llvm::SmallVectorStorage< T, N >:
Collaboration graph
[legend]

Public Attributes

SmallVectorTemplateCommon< T >::U InlineElts [N-1]
 

Detailed Description

template<typename T, unsigned N>
struct llvm::SmallVectorStorage< T, N >

Storage for the SmallVector elements which aren't contained in SmallVectorTemplateCommon. There are 'N-1' elements here. The remaining '1' element is in the base class. This is specialized for the N=1 and N=0 cases to avoid allocating unnecessary storage.

Definition at line 59 of file SmallVector.h.

Member Data Documentation

template<typename T, unsigned N>
SmallVectorTemplateCommon<T>::U llvm::SmallVectorStorage< T, N >::InlineElts[N-1]

Definition at line 866 of file SmallVector.h.


The documentation for this struct was generated from the following file: