span.hpp 604 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 BOOST_BEAST_CORE_SPAN_HPP
  10. #define BOOST_BEAST_CORE_SPAN_HPP
  11. #include <boost/beast/core/detail/config.hpp>
  12. #include <boost/core/span.hpp>
  13. namespace boost {
  14. namespace beast {
  15. template<class T, std::size_t E = boost::dynamic_extent>
  16. using span = boost::span<T, E>;
  17. } // beast
  18. } // boost
  19. #endif