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

@@ -1,6 +1,9 @@
#pragma once
#include <utility>
// Fixed-capacity doubly-linked list with an embedded node array and intrusive
// free list. Used for callback registries (frame callbacks, timers) needing
// O(1) insert/remove with stable handles, without heap in IRQ-adjacent paths.
template <typename T, int N>
struct callback_list {
struct node {