A thread-safe queue. More...
Public Member Functions | |
queue (queue const &other) | |
queue (queue &&other) | |
queue & | operator= (queue const &other) |
queue & | operator= (queue &&other) |
bool | empty (void) const |
size_type | size (void) const |
void | push (value_type const &x) |
void | push (value_type &&x) |
bool | try_pop (value_type &x) |
void | clear (void) |
Public Types | |
typedef queue_type::value_type | value_type |
typedef value_type & | reference |
typedef value_type const & | const_reference |
typedef queue_type::size_type | size_type |
A thread-safe queue.