#include <boost/asio/async_result.hpp>
#include <boost/asio/detail/type_traits.hpp>
#include <boost/asio/execution_context.hpp>
+#include <boost/asio/execution/executor.hpp>
#include <boost/asio/is_executor.hpp>
#include <boost/asio/detail/push_options.hpp>
const Executor& ex,
BOOST_ASIO_MOVE_ARG(CompletionToken) token
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(Executor),
- typename enable_if<is_executor<Executor>::value>::type* = 0);
+ typename enable_if<
+ execution::is_executor<Executor>::value || is_executor<Executor>::value
+ >::type* = 0);
/// Submits a completion token or function object for execution.
/**