template<typename T, size_t N>
slang::SmallVectorSized class

A concrete, sized version of the SmallVector<T> template. The template parameter N is the number of elements that will be allocated on the stack.

Base classes

template<typename T>
class SmallVector<T>

Constructors, destructors, conversion operators

SmallVectorSized(size_t capacity) explicit

Function documentation

template<typename T, size_t N>
slang::SmallVectorSized<T, N>::SmallVectorSized(size_t capacity) explicit

Constructs the SmallVectorSized with the given capacity. If that capacity is less than the preallocated stack size N it will be ignored. Otherwise it will perform a heap allocation right away.