explicit overlapped_ptr(const Executor& ex,
BOOST_ASIO_MOVE_ARG(Handler) handler,
typename enable_if<
- is_executor<Executor>::value
+ execution::is_executor<Executor>::value
+ || is_executor<Executor>::value
>::type* = 0)
: impl_(ex, BOOST_ASIO_MOVE_CAST(Handler)(handler))
{
template <typename Executor, typename Handler>
void reset(const Executor& ex, BOOST_ASIO_MOVE_ARG(Handler) handler,
typename enable_if<
- is_executor<Executor>::value
+ execution::is_executor<Executor>::value
+ || is_executor<Executor>::value
>::type* = 0)
{
impl_.reset(ex, BOOST_ASIO_MOVE_CAST(Handler)(handler));