|
Foundation
|
#include <Queue.hpp>
Public Member Functions | |
| Reader (MPMCQueue *queue) | |
| bool | Pop (T &out) |
| Try to pop data from the queue. | |
Private Attributes | |
| MPMCQueue *const | queue |
|
inline |
Try to pop data from the queue.
| out | Reference to receive the popped data. This is only valid if the function returns true. The values are move-constructed from the queue. |