[multiple changes]
authorPaolo Carlini <paolo@gcc.gnu.org>
Mon, 23 May 2011 00:05:24 +0000 (00:05 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 23 May 2011 00:05:24 +0000 (00:05 +0000)
commit4702f095fa6a0e4a76f0fff61b1693fde6db9eaa
tree1d62082ba3adf689c24eec5ec21b2555eb5f0c96
parent29cedf8ef3b3fd547d778738157a6bdbc3a7b78a
[multiple changes]

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.

From-SVN: r174048
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/bind/49058_1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/bind/49058_2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/bind/cv_quals_2.cc [new file with mode: 0644]