...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns a static string representing an integer as a decimal.
Defined in header <boost/beast/core/static_string.hpp>
template< class Integer> static_string< detail::max_digits(sizeof(Integer))> to_static_string( Integer x);
Name |
Description |
---|---|
|
The signed or unsigned integer to convert. This must be an integral type. |
A static_string
with an implementation defined maximum size large enough to hold the longest
possible decimal representation of any integer of the given type.