[Bug libstdc++/79162] [7 Regression] [C++17] ambiguity in string assignment due to string_view overload
david.abdurachmanov at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon May 29 15:23:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79162
David Abdurachmanov <david.abdurachmanov at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david.abdurachmanov at gmail dot c
| |om
--- Comment #7 from David Abdurachmanov <david.abdurachmanov at gmail dot com> ---
This potentially caused errors while compiling Clang 3.9 in C++1z mode.
See Richard Smith comments on
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20170522/193826.html
Quote:
"""
This is wrong. We have a "public:" on the previous line! But I think this
is just GCC's diagnostic being screwed up and what it's trying to say is
that it selected a deleted function.
But this function is the wrong overload resolution result; the operator
std::string from the base class should be selected.
"""
More information about the Gcc-bugs
mailing list