add header doc comments to non-obvious util data structures

This commit is contained in:
Ian Gulliver
2026-05-01 10:47:08 -07:00
parent 1e97058b9b
commit b565a5de4c
7 changed files with 22 additions and 0 deletions

View File

@@ -3,6 +3,9 @@
#include <cstdint>
#include <cstring>
// Fixed-capacity contiguous container: std::vector's interface with std::array's
// storage. Used for response payloads sized at parse time but bounded at compile
// time, where heap allocation is unavailable or undesirable.
template <typename T, size_t Capacity>
class static_vector {
T m_data[Capacity];