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