Add tests for async_op_base

This commit is contained in:
Vinnie Falco committed 2019-01-11 20:06:56 -08:00
1 parent b4c63028e2
commit 3599ccb09a
21 files changed
+454 -306

No files matched your search

@@ -107,7 +107,7 @@ public:
Buffers const& b,
Handler_&& h)
: async_op_base<Handler, Executor>(
s.get_executor(), std::forward<Handler_>(h))
std::forward<Handler_>(h), s.get_executor())
, impl_(*s.impl_)
, pg_(impl_.read_pending)
, b_(b)
@@ -224,7 +224,7 @@ public:
Buffers const& b,
Handler_&& h)
: async_op_base<Handler, Executor>(
s.get_executor(), std::forward<Handler_>(h))
std::forward<Handler_>(h), s.get_executor())
, impl_(*s.impl_)
, pg_(impl_.write_pending)
, b_(b)
@@ -350,7 +350,7 @@ public:
Condition cond,
Handler_&& h)
: async_op_base<Handler, Executor>(
s.get_executor(), std::forward<Handler_>(h))
std::forward<Handler_>(h), s.get_executor())
, impl_(*s.impl_)
, pg0_(impl_.read_pending)
, pg1_(impl_.write_pending)
@@ -377,7 +377,7 @@ public:
Condition cond,
Handler_&& h)
: async_op_base<Handler, Executor>(
s.get_executor(), std::forward<Handler_>(h))
std::forward<Handler_>(h), s.get_executor())
, impl_(*s.impl_)
, pg0_(impl_.read_pending)
, pg1_(impl_.write_pending)
@@ -44,7 +44,7 @@ public:
MutableBufferSequence const& b)
: async_op_base<
Handler, detail::get_executor_type<buffered_read_stream>>(
s.get_executor(), std::forward<Handler_>(h))
std::forward<Handler_>(h), s.get_executor())
, s_(s)
, b_(b)
{