Caffe2 - C++ API
A deep learning, cross platform ML framework
Data Fields
c10::SmallVectorStorage< T, N > Struct Template Reference

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

#include <SmallVector.h>

Data Fields

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

Detailed Description

template<typename T, unsigned N>
struct c10::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 922 of file SmallVector.h.


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