public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/101482] New: The resolution of #32907 is too restricted
@ 2021-07-17  3:10 de34 at live dot cn
  2022-06-16  6:07 ` [Bug libstdc++/101482] " de34 at live dot cn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: de34 at live dot cn @ 2021-07-17  3:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101482
           Summary: The resolution of #32907 is too restricted
           Product: gcc
           Version: 11.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: de34 at live dot cn
  Target Milestone: ---

The resolution of bug #32907 is restricted to a few specializations
(basic_string<CharT>, where bool(__is_char<CharT>::value) is true).

It seems that the resolution should be generalized to all specializations of
basic_string (by removing the legacy operator== overload and SFINAE in the new
overload, which is already done by libc++ and msvc stl). IMO the generalized
resolution can also be applied to operator== for __versa_string.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-16 19:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-17  3:10 [Bug libstdc++/101482] New: The resolution of #32907 is too restricted de34 at live dot cn
2022-06-16  6:07 ` [Bug libstdc++/101482] " de34 at live dot cn
2022-06-16  9:47 ` [Bug libstdc++/101482] operator== for basic_string and __versa_string should check sizes first redi at gcc dot gnu.org
2022-06-16 19:20 ` cvs-commit at gcc dot gnu.org
2022-06-16 19:22 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).