Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.


// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// Official repository:


#include <boost/beast/core/detail/static_string.hpp>
#include <boost/static_string/static_string.hpp>

namespace boost {
namespace beast {

template<std::size_t N,
    class CharT = char,
    class Traits = std::char_traits<CharT> >
using static_string = boost::static_strings::basic_static_string<N, CharT,

template<class Integer>
inline auto
to_static_string(Integer x)
-> decltype(boost::static_strings::to_static_string(x))
    return boost::static_strings::to_static_string(x);

} // beast
} // boost