Daily bit(e) of C++ | std::to_chars
Daily bit(e) of C++ #464, Low level text formatting tool for integer and floating-point values: std::to_chars (C++17).
The C++17 std::to_chars is a low-level tool for formatting integer and floating-point values as text into a buffer.
The integer overload supports bases up to 35 (10..35 represented using lowercase characters a-z).
The overloads for floating-point values allow specification of the format and precision. Format specification mirrors the behaviour of the printf function.