
On Tue, Oct 7, 2025, at 5:19 PM, Andrey Semashev via Boost wrote:
Please let me know what you think.
Any to_(whatever_)string functions should produce the same result, regardless of the standard version. Otherwise, you'd be laying landmines to users. Better break users once than keep them breaking themselves all the time. So option c.
Hmm. Did I get this right? Because I completely agree with reasoning, however, that means I expected you to strongly assert option a. - Note that option c means that `to_static_string` may NOT produce the same as `to_string`. - Also, indeed: better to break users *once*. Meaning, when they switch to c++26 compilation (it seems this breakage cannot be avoided since it's part of standard specification?) Seth