> Assuming that the locale issue isn't a problem, can that be reused?
The to_chars patch uses C++14 features, while to_string is C++11. If
that was solved, it probably could be used.
However, as far as I know, simply using to_chars in to_string would
technically be suboptimal, because it needs thr
> so a conforming program could notice the difference by either calling
> std::setlocale.
Unless I missed or misunderstood something about locale (please let me
know if I did), I don't know of any way for locale to affect %d and
its integer friends.
separately, or is mentioning it here enough?
2017-05-27 Adrian Wielgosik
PR libstdc++/71108
* libstdc++-v3/include/ext/string_conversions.h:
(__int_to_string, __format_uint): New.
* libstdc++-v3/include/bits/basic_string.h: Use the new function.
libstdc++-v3/include/bits