This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r174049 - in /branches/gcc-4_6-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Mon, 23 May 2011 00:08:53 -0000
- Subject: r174049 - in /branches/gcc-4_6-branch/libstdc++...
Author: paolo
Date: Mon May 23 00:08:52 2011
New Revision: 174049
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174049
Log:
2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
* testsuite/20_util/bind/cv_quals_2.cc: New.
2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/49058
* include/std/functional (_Bind<_Functor(_Bound_args...)>::
operator()(_Args&&...)): Don't cv qualify _Functor directly
in the default template argument, SFINAE doesn't apply when
the functor has no arguments.
* testsuite/20_util/bind/49058_1.cc: New.
* testsuite/20_util/bind/49058_2.cc: Likewise.
Added:
branches/gcc-4_6-branch/libstdc++-v3/testsuite/20_util/bind/49058_1.cc
branches/gcc-4_6-branch/libstdc++-v3/testsuite/20_util/bind/49058_2.cc
branches/gcc-4_6-branch/libstdc++-v3/testsuite/20_util/bind/cv_quals_2.cc
Modified:
branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
branches/gcc-4_6-branch/libstdc++-v3/include/std/functional