|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Extract queue capacity from a QueuePolicy if it exposes a static ::capacity member, rounded up to the nearest power of 2 for power-of-two ring buffer constraints. Falls back to 1024 for policies without a capacity (e.g. NoQueuePolicy). More...
#include <RuntimeBuilder.hpp>
Inheritance diagram for corium::internal::queue_capacity_of< QueuePolicy, typename >:
Collaboration diagram for corium::internal::queue_capacity_of< QueuePolicy, typename >:Extract queue capacity from a QueuePolicy if it exposes a static ::capacity member, rounded up to the nearest power of 2 for power-of-two ring buffer constraints. Falls back to 1024 for policies without a capacity (e.g. NoQueuePolicy).