[Bug libstdc++/79162] [7/8 Regression] [C++17] ambiguity in string assignment due to string_view overload

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 20 22:26:00 GMT 2017


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


More information about the Gcc-bugs mailing list