async.hpp 770 B

1234567891011121314151617181920212223242526272829303132
  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/v1/detail/config.hpp>
  8. #include <boost/process/v1/detail/traits/decl.hpp>
  9. namespace boost { namespace asio {
  10. class io_context;
  11. }}
  12. namespace boost { namespace process { BOOST_PROCESS_V1_INLINE namespace v1 { 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_ */