Fix exception-specification of std::invoke
authorJonathan Wakely <jwakely@redhat.com>
Thu, 13 Oct 2016 08:55:40 +0000 (09:55 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 13 Oct 2016 08:55:40 +0000 (09:55 +0100)
commit3e0c9334e9f766749d1661745b320860ae4827ef
treede65450242299903cce5c67fcf15cc1599d140d7
parent92c5266bbd5378a5513f43edf23b1394621675a3
Fix exception-specification of std::invoke

* include/bits/invoke.h (__invoke): Fix exception-specification.
* include/std/functional (invoke): Likewise.
* testsuite/20_util/function_objects/invoke/1.cc: New test.

From-SVN: r241089
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/invoke.h
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function_objects/invoke/1.cc [new file with mode: 0644]