2010-01-16 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Jan 2010 13:29:41 +0000 (13:29 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Jan 2010 13:29:41 +0000 (13:29 +0000)
commit13564f8d5208edb6c471fd28635a49a7e94155f3
treea32a0d8e7e63427f86be807f284c3f5b32f9c5fd
parentc441a67e6481a9ff7ee7597472a3f9e7c2c79a50
2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
Rename const version to __call_c and remove _Sfinae template
parameter.
(_Bind<_Functor(_Bound_args...)>::operator()): Adjust.

* include/std/functional: Pass everywhere temporary tuple<_Args...>
arguments by rvalue reference.

* testsuite/20_util/bind/cv_quals.cc: New.

* testsuite/20_util/bind/ref2.cc: Add missing test variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155978 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/bind/cv_quals.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/bind/ref2.cc