diff options
Diffstat (limited to 'boost/thread/concurrent_queues/queue_views.hpp')
-rw-r--r-- | boost/thread/concurrent_queues/queue_views.hpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/boost/thread/concurrent_queues/queue_views.hpp b/boost/thread/concurrent_queues/queue_views.hpp index 5a4512dd6e..d04f54ed70 100644 --- a/boost/thread/concurrent_queues/queue_views.hpp +++ b/boost/thread/concurrent_queues/queue_views.hpp @@ -76,26 +76,15 @@ namespace concurrent // Modifiers void close() { queue->close(); } - void push(const value_type& x) { queue->push_front(x); } - void pull(value_type& x) { queue->pull(x); }; // enable_if is_nothrow_copy_movable<value_type> value_type pull() { return queue->pull(); } - queue_op_status try_push(const value_type& x) { return queue->try_push_front(x); } - queue_op_status try_pull(value_type& x) { return queue->try_pull(x); } - queue_op_status nonblocking_push(const value_type& x) { return queue->nonblocking_push_front(x); } - queue_op_status nonblocking_pull(value_type& x) { return queue->nonblocking_pull(x); } - queue_op_status wait_push(const value_type& x) { return queue->wait_push_front(x); } queue_op_status wait_pull(value_type& x) { return queue->wait_pull(x); } - void push(BOOST_THREAD_RV_REF(value_type) x) { queue->push_front(forward<value_type>(x)); } - queue_op_status try_push(BOOST_THREAD_RV_REF(value_type) x) { return queue->try_push_front(forward<value_type>(x)); } - queue_op_status nonblocking_push(BOOST_THREAD_RV_REF(value_type) x) { return queue->nonblocking_push_front(forward<value_type>(x)); } - queue_op_status wait_push(BOOST_THREAD_RV_REF(value_type) x) { return queue->wait_push_front(forward<value_type>(x)); } }; |