2010-10-06 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Oct 2010 17:17:16 +0000 (17:17 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Oct 2010 17:17:16 +0000 (17:17 +0000)
commit835e1464c1ebe3b70b1546928c2c51fb64f51ab6
tree619ca9a1c53872403240f1d89461f35d6d93bbc4
parent562ffb7de54639a07e89e972fb075f6ccc4e2420
2010-10-06  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/functional (struct _Weak_result_type_impl): Add
specializazions for cv-qualified function types, for variadic
function types and pointers and references to function types,
and for pointers to member function types.
(struct _Reference_wrapper_base): Add specializations for
cv-qualified unary and binary function types.
* testsuite/20_util/reference_wrapper/result_type.cc: New.
* testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.

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