Overview
Umbrella header that pulls the Castle container family into one include. Use it when a translation unit needs several containers and convenience matters more than minimizing header fan-in.
Dependencies
arrayvectorring_bufferstackstringstring_viewarray_viewheapavl_treemapsethash_tablehash_maphash_setforward_list
Public API
| API | Description |
|---|---|
containers.hpp | Defines no new types or functions; including it makes the listed container headers available. |
Usage example
See samples/sample_containers.cpp.
#include "castle/container/containers.hpp"
castle::container::array<int, 2U> values{1, 2};
castle::container::map<int, int, 2U> ordered;
ordered.insert(1, 10);Constraints & notes
- No allocation behavior is introduced by this header; it only aggregates other Castle headers.
- Thread-safety depends entirely on the specific container types you use; no synchronization is added here.
- Prefer individual headers when compile time or preprocessing footprint matters.