pop_front
ThreadSafeQueue::pop_front
Removes an element at the front of the queue.
Declaration
template<typename T>
bool pop_front(T& element);
Parameters
Name |
Type |
Description |
---|---|---|
element |
T& |
The element at the front at the queue. |
Returns
true
if an element could be removed from the front of the queue, else, returns false
.