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++/79162] [7 Regression] [C++17] ambiguity in string assignment due to string_view overload


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

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #8)
> Richard also says the overload shouldn't exist and is a bug, but the
> overload has to exist, because the C++17 draft is defective.

That's https://wg21.link/lwg2946

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