]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-3.cc
re PR libstdc++/57336 (Cannot INVOKE a reference_wrapper around an abstract type)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Tue, 21 May 2013 08:15:13 +0000 (08:15 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 21 May 2013 08:15:13 +0000 (09:15 +0100)
commitbf5f6aa9be32bec652082a6b1e834b7340af8739
tree611ed8eba86e4bfcd666167e39fef2dcb74c89e6
parent7ec67e2af8d310e18dd894c9836c28254773bd0c
re PR libstdc++/57336 (Cannot INVOKE a reference_wrapper around an abstract type)

PR libstdc++/57336
* include/std/functional (__invoke): Do not form function types with
abstract return type.
* testsuite/20_util/reference_wrapper/invoke-3.cc: New.

From-SVN: r199136
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-3.cc [new file with mode: 0644]