BCNP 3.2.1
Batched Command Network Protocol
Loading...
Searching...
No Matches
static_vector.h File Reference

Fixed-capacity vector with stack allocation (no heap). More...

#include <cstddef>
#include <initializer_list>
#include <new>
#include <stdexcept>
#include <type_traits>
#include <utility>
Include dependency graph for static_vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bcnp::StaticVector< T, Capacity >
 Fixed-capacity vector with no heap allocation. More...
 

Namespaces

namespace  bcnp
 

Detailed Description

Fixed-capacity vector with stack allocation (no heap).

Provides a std::vector-like interface with compile-time fixed capacity. Ideal for real-time systems where heap allocation is undesirable.

Definition in file static_vector.h.