Loading [MathJax]/extensions/tex2jax.js
WPILibC++ 2025.3.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
wpi::SmallVectorStorage< T, N > Struct Template Reference

Storage for the SmallVector elements. More...

#include <wpi/SmallVector.h>

Inheritance diagram for wpi::SmallVectorStorage< T, N >:
wpi::SmallVector< T, 1 > wpi::SmallVector< sleipnir::Variable > wpi::SmallVector< sleipnir::detail::ExpressionGraph > wpi::SmallVector< int > wpi::SmallVector< void * > wpi::SmallVector< sleipnir::detail::Expression * > wpi::SmallVector< T, N > wpi::SmallVector< T, N >

Public Attributes

char InlineElts [N *sizeof(T)]
 

Detailed Description

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

Storage for the SmallVector elements.

This is specialized for the N=0 case to avoid allocating unnecessary storage.

Member Data Documentation

◆ InlineElts

template<typename T , unsigned N>
char wpi::SmallVectorStorage< T, N >::InlineElts[N *sizeof(T)]

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