[Bug libstdc++/110354] [C++26] P2587R3 to_string or not to_string

2023-08-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110354

Jonathan Wakely  changed:

   What|Removed |Added

   Target Milestone|--- |14.0
 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Jonathan Wakely  ---
Implemented in r14-3299-gaeed687f4e08f1

[Bug libstdc++/110354] [C++26] P2587R3 to_string or not to_string

2023-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110354
Bug 110354 depends on bug 110355, which changed state.

Bug 110355 Summary: std::format("{}", 1e-7) returns "1e-07" instead of "1e-7"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110355

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |INVALID

[Bug libstdc++/110354] [C++26] P2587R3 to_string or not to_string

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110354

Jonathan Wakely  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2023-06-21
 Status|UNCONFIRMED |NEW

--- Comment #1 from Jonathan Wakely  ---
I think this should only be done for C++26 and up. That means we can use
std::format, exactly as specified by the proposal.

I'll probably work on this, but not immediately.