File include/brisk/core/internal/InlineVector.hpp
¶
inline_vector
class¶
template <typename T, size_t N> inline_vector
A resizeable vector-like container with fixed capacity.
The inline_vector
class is a container that stores a fixed number of elements
of type T
. It provides similar functionalities to a standard vector, but it is
designed to operate with a fixed capacity determined at compile time.
The class enforces that the type T
is trivially copyable, movable, and destructible,
and ensures that the size N
is within valid bounds. It supports basic operations
such as element access, size retrieval, and iteration.
Template param T
The type of the elements stored in the vector.
Template param N
The maximum number of elements that the vector can hold.
Note The class is designed to be efficient in terms of memory and performance
by storing elements in a contiguous array.
Exceptions If operations exceed the defined bounds (e.g., accessing
an index out of range, or initializing with more elements than allowed).
Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/