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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The library will never call it with a null pointer, but users could do. Not
many people use char_traits directly though. Probably even fewer use the
primary template, because there are specializations for char, wchar_t, char16_t
and char32_t which were already fixed for PR 65049.

Reply via email to