span.hpp 600 B

12345678910111213141516171819202122232425
  1. //
  2. // Copyright (c) 2016-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_SPAN_HPP
  10. #define BHO_BEAST_CORE_SPAN_HPP
  11. #include <asio2/bho/beast/core/detail/config.hpp>
  12. #include <asio2/bho/core/span.hpp>
  13. namespace bho {
  14. namespace beast {
  15. template<class T, std::size_t E = bho::dynamic_extent>
  16. using span = bho::span<T, E>;
  17. } // beast
  18. } // bho
  19. #endif