diff --git a/parallel/queue.hpp b/parallel/queue.hpp index 99321afd..46ae8f07 100644 --- a/parallel/queue.hpp +++ b/parallel/queue.hpp @@ -52,6 +52,9 @@ namespace util::parallel { { ; } + static constexpr auto capacity (void) { return SizeV; } + + /// attempts to push a value to the queue /// /// algorithm proceeds as follows: