asio_fwd.hpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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_POSIX_ASIO_FWD_HPP_
  6. #define BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_
  7. #include <memory>
  8. #include <boost/asio/ts/netfwd.hpp>
  9. namespace boost { namespace asio {
  10. class mutable_buffer;
  11. class mutable_buffers_1;
  12. class const_buffer;
  13. class const_buffers_1;
  14. template<typename Allocator>
  15. class basic_streambuf;
  16. typedef basic_streambuf<std::allocator<char>> streambuf;
  17. template <typename Executor>
  18. class basic_signal_set;
  19. typedef basic_signal_set<any_io_executor> signal_set;
  20. template <typename Handler>
  21. class basic_yield_context;
  22. namespace posix {
  23. template <typename Executor>
  24. class basic_stream_descriptor;
  25. typedef basic_stream_descriptor<any_io_executor> stream_descriptor;
  26. } //posix
  27. } //asio
  28. namespace process { namespace detail { namespace posix {
  29. class async_pipe;
  30. template<typename T>
  31. struct async_in_buffer;
  32. template<int p1, int p2, typename Buffer>
  33. struct async_out_buffer;
  34. template<int p1, int p2, typename Type>
  35. struct async_out_future;
  36. } // posix
  37. } // detail
  38. using ::boost::process::detail::posix::async_pipe;
  39. } // process
  40. } // boost
  41. #endif /* BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_ */