Hi everyone, the [OneAPI spec](https://github.com/oneapi-src/oneAPI-spec/blob/9174607fce771d5f232d403e688a5bebe7838256/source/elements/oneTBB/source/containers/concurrent_bounded_queue_cls.rst) claims that concurrent bounded queue `pop()` function returns `void`: ``` void pop( value_type& result ); ``` However, the implementation returns a `bool`: https://github.com/oneapi-src/oneTBB/blob/05023723ff17dc436668a989a5f2c1873e994e72/include/oneapi/tbb/concurrent_queue.h#L380 What is the purpose of this boolean return value? Thank you.
Hi everyone,
the OneAPI spec claims that concurrent bounded queue
pop()function returnsvoid:However, the implementation returns a
bool:https://github.com/oneapi-src/oneTBB/blob/05023723ff17dc436668a989a5f2c1873e994e72/include/oneapi/tbb/concurrent_queue.h#L380
What is the purpose of this boolean return value? Thank you.