]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add std::apply for C++17
authorJonathan Wakely <jwakely@redhat.com>
Sat, 6 Aug 2016 00:06:02 +0000 (01:06 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 6 Aug 2016 00:06:02 +0000 (01:06 +0100)
commit3e9f67e6a2c13e7e78d1e34dadfdc8d96176e9fe
treeec1835184e11bd10b0b33581f3a665315a208454
parent5c3e5002db1096170c8dd33413842e91bfcb61d8
Add std::apply for C++17

* doc/xml/manual/status_cxx2017.xml: Add missing LFTSv2 features.
* doc/html/manual/status.html: Regenerate.
* include/Makefile.am: Add new header.
* include/Makefile.in: Regenerate.
* include/bits/invoke.h: New header.
(__invoke): Make constexpr. Add && to types in exception specification.
* include/experimental/tuple (apply, __apply_impl): Fix non-reserved
names. Include <bits/invoke.h> and use std::__invoke.
* include/std/functional (__invfwd, __invoke_impl, __invoke): Move to
new header.
(invoke): Add && to types in exception specification.
* include/std/tuple (apply, __apply_impl): Define for C++17.
* testsuite/20_util/tuple/apply/1.cc: New test.
* testsuite/20_util/tuple/element_access/get_neg.cc: Adjust dg-error
lineno.

From-SVN: r239183
libstdc++-v3/ChangeLog
libstdc++-v3/doc/html/manual/status.html
libstdc++-v3/doc/xml/manual/status_cxx2017.xml
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/invoke.h [new file with mode: 0644]
libstdc++-v3/include/experimental/tuple
libstdc++-v3/include/std/functional
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/apply/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/tuple/element_access/get_neg.cc