📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-07-12 06:32:14
📂
/ (Root)
/
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.5
/
src
/
cxx_supportlib
/
vendor-modified
/
boost
/
core
📍 /opt/cpanel/ea-ruby27/src/passenger-release-6.1.5/src/cxx_supportlib/vendor-modified/boost/core
🔄 Refresh
✏️
Editing: make_span.hpp
Read Only
/* Copyright 2023 Glen Joseph Fernandes (glenjofe@gmail.com) Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_CORE_MAKE_SPAN_HPP #define BOOST_CORE_MAKE_SPAN_HPP #include <boost/core/span.hpp> namespace boost { template<class I> inline constexpr span<I> make_span(I* f, std::size_t c) noexcept { return span<I>(f, c); } template<class I> inline constexpr span<I> make_span(I* f, I* l) noexcept { return span<I>(f, l); } template<class T, std::size_t N> inline constexpr span<T, N> make_span(T(&a)[N]) noexcept { return span<T, N>(a); } template<class T, std::size_t N> inline constexpr span<T, N> make_span(std::array<T, N>& a) noexcept { return span<T, N>(a); } template<class T, std::size_t N> inline constexpr span<const T, N> make_span(const std::array<T, N>& a) noexcept { return span<const T, N>(a); } template<class R> inline span<typename detail::span_data<R>::type> make_span(R&& r) { return span<typename detail::span_data<R>::type>(std::forward<R>(r)); } } /* boost */ #endif
💾 Save Changes
❌ Cancel