https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112832

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-12-04
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
   Target Milestone|---                         |13.3

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Egor from comment #0)
> GCC doesn't seem to implement `{:?}` debug format for strings yet.

Correct, see PR 109162

> Yet for some reason `std::formatter<const char *>` has a
> `set_debug_format()` function, which causes a hard error when used (isn't
> SFINAE-friendly).

The error has nothing to do with it being SFINAE-friendly or not.

> `set_debug_format()` should be SFINAE-friendly, to allow the user to call it
> conditionally when available.

No, it should just not exist yet.

Reply via email to