11 #ifndef ASIO_DETAIL_OP_QUEUE_HPP 12 #define ASIO_DETAIL_OP_QUEUE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 25 template <
typename Operation>
31 template <
typename Operation>
32 static Operation*
next(Operation* o)
34 return static_cast<Operation*
>(o->next_);
37 template <
typename Operation1,
typename Operation2>
38 static void next(Operation1*& o1, Operation2* o2)
43 template <
typename Operation>
49 template <
typename Operation>
55 template <
typename Operation>
62 template <
typename Operation>
77 while (Operation* op = front_)
95 Operation* tmp = front_;
120 template <
typename OtherOperation>
128 front_ = other_front;
156 #endif // ASIO_DETAIL_OP_QUEUE_HPP void push(op_queue< OtherOperation > &q)
static void next(Operation1 *&o1, Operation2 *o2)
static void destroy(Operation *o)
static Operation * next(Operation *o)
static Operation *& front(op_queue< Operation > &q)
static Operation *& back(op_queue< Operation > &q)