file.hpp 830 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // Copyright (c) 2015-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // Official repository: https://github.com/boostorg/beast
  8. //
  9. #ifndef BHO_BEAST_CORE_FILE_HPP
  10. #define BHO_BEAST_CORE_FILE_HPP
  11. #include <asio2/bho/beast/core/detail/config.hpp>
  12. #include <asio2/bho/beast/core/file_base.hpp>
  13. #include <asio2/bho/beast/core/file_stdio.hpp>
  14. namespace bho {
  15. namespace beast {
  16. /** An implementation of File.
  17. This alias is set to the best available implementation
  18. of <em>File</em> given the platform and build settings.
  19. */
  20. #if BHO_BEAST_DOXYGEN
  21. struct file : file_stdio
  22. {
  23. };
  24. #else
  25. #if 1
  26. using file = file_stdio;
  27. #endif
  28. #endif
  29. } // beast
  30. } // bho
  31. #endif