LLVM  6.0.0svn
Public Attributes | List of all members
llvm::SmallVectorStorage< T, N > Struct Template Reference

Storage for the SmallVector elements which aren't contained in SmallVectorTemplateCommon. More...

#include "llvm/ADT/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 849 of file SmallVector.h.

Member Data Documentation

◆ InlineElts

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

Definition at line 850 of file SmallVector.h.


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