WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::SmallVectorStorage< T, N > Struct Template Reference

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

#include <SmallVector.h>

Public Attributes

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

Detailed Description

template<typename T, unsigned N>
struct wpi::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.


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