This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/62187] std::string==const char* could compare sizes first


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I've also created an LWG issue about this, so I hope before Stage 1 starts
we'll have LWG guidance saying it's OK to do this for all basic_string, not
only std::string and std::wstring.

We should also make __is_char<char16_t> and __is_char<char32_t> true.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]