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


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

--- Comment #24 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Sep 20 22:26:19 2017
New Revision: 253038

URL: https://gcc.gnu.org/viewcvs?rev=253038&root=gcc&view=rev
Log:
PR libstdc++/79162 Fix std::string regression due to LWG 2946 (old ABI)

        PR libstdc++/79162
        * include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
        (basic_string::_If_sv): Remove from the overload set when the
        argument is derived from basic_string.

Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/include/bits/basic_string.h

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