async.hpp 726 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright (c) 2016 Klemens D. Morgenstern
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_PROCESS_DETAIL_TRAITS_ASYNC_HPP_
  6. #define BOOST_PROCESS_DETAIL_TRAITS_ASYNC_HPP_
  7. #include <boost/process/detail/config.hpp>
  8. #include <boost/process/detail/traits/decl.hpp>
  9. namespace boost { namespace asio {
  10. class io_context;
  11. }}
  12. namespace boost { namespace process { namespace detail {
  13. struct async_tag {};
  14. template<>
  15. struct initializer_builder<async_tag>;
  16. template<> struct initializer_tag<::boost::asio::io_context> { typedef async_tag type;};
  17. }}}
  18. #endif /* BOOST_PROCESS_DETAIL_HANDLER_HPP_ */