This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r241264 - in /branches/gcc-5-branch/libstdc++-v...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Mon, 17 Oct 2016 17:03:20 -0000
- Subject: r241264 - in /branches/gcc-5-branch/libstdc++-v...
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 <jwakely@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