parallel/queue: add capacity query

This commit is contained in:
Danny Robson 2018-03-22 14:57:24 +11:00
parent 53255ca4a0
commit 4f4b812356

View File

@ -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: