Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2020. The current version is 1.90.0.
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.