File indexing completed on 2025-01-18 09:29:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_BEAST_STATIC_STRING_HPP
0011 #define BOOST_BEAST_STATIC_STRING_HPP
0012
0013 #include <boost/beast/core/detail/static_string.hpp>
0014 #include <boost/static_string/static_string.hpp>
0015
0016 namespace boost {
0017 namespace beast {
0018
0019 template<std::size_t N,
0020 class CharT = char,
0021 class Traits = std::char_traits<CharT> >
0022 using static_string = boost::static_strings::basic_static_string<N, CharT,
0023 Traits>;
0024
0025 template<class Integer>
0026 inline auto
0027 to_static_string(Integer x)
0028 -> decltype(boost::static_strings::to_static_string(x))
0029 {
0030 return boost::static_strings::to_static_string(x);
0031 }
0032
0033 }
0034 }
0035
0036 #endif