https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72820
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Oct 17 17:03:19 2016 New Revision: 241264 URL: https://gcc.gnu.org/viewcvs?rev=241264&root=gcc&view=rev Log: Use ::new to avoid finding overloaded operator new Backport from mainline: 2016-08-06 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/72820 * include/std/functional (_Function_base::_Base_manager::_M_clone): Qualify new operator. * testsuite/20_util/function/cons/72820.cc: New test. Added: branches/gcc-5-branch/libstdc++-v3/testsuite/20_util/function/cons/72820.cc Modified: branches/gcc-5-branch/libstdc++-v3/ChangeLog branches/gcc-5-branch/libstdc++-v3/include/std/functional