Re: [PATCH] libstdc++: Better diagnostics for std::format errors

2024-03-07 Thread Jonathan Wakely
Pushed to trunk. On Fri, 1 Mar 2024 at 15:09, Jonathan Wakely wrote: > Does the text of these new diagnostics look good? > > There are of course other ways for a type to be not-formattable (e.g. > the formatter::format member doesn't return the right type or has some > other kind of incorrect si

[PATCH] libstdc++: Better diagnostics for std::format errors

2024-03-01 Thread Jonathan Wakely
Does the text of these new diagnostics look good? There are of course other ways for a type to be not-formattable (e.g. the formatter::format member doesn't return the right type or has some other kind of incorrect signature, or the formatter::parse member isn't constexpr) but we can't predict/det