Adding noexcept-specification on tuple constructors (LWG 2899)
authorNina Dinka Ranns <dinka.ranns@gmail.com>
Sun, 28 Apr 2019 21:17:50 +0000 (21:17 +0000)
committerVille Voutilainen <ville@gcc.gnu.org>
Sun, 28 Apr 2019 21:17:50 +0000 (00:17 +0300)
commitec087ba34e3e4f8ce60c83d5ca754c15a9bdf785
tree7b5001b31a96e4245932c185492a8a69709a694f
parentb9a5a80c539f068d5674531e7f650fa0a88c552f
Adding noexcept-specification on tuple constructors (LWG 2899)

2019-04-28 Nina Dinka Ranns <dinka.ranns@gmail.com>

* libstdc++-v3/include/std/tuple:
(tuple()): Add noexcept-specification.
(tuple(const _Elements&...)): Likewise
(tuple(_UElements&&...)): Likewise
(tuple(const tuple<_UElements...>&)): Likewise
(tuple(tuple<_UElements...>&&)): Likewise
(tuple(const _T1&, const _T2&)): Likewise
(tuple(_U1&&, _U2&&)): Likewise
(tuple(const tuple<_U1, _U2>&): Likewise
(tuple(tuple<_U1, _U2>&&): Likewise
(tuple(const pair<_U1, _U2>&): Likewise
(tuple(pair<_U1, _U2>&&): Likewise
* libstdc++-v3/testsuite/20_util/tuple/cons/noexcept_specs.cc: New

From-SVN: r270632
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/cons/noexcept_specs.cc [new file with mode: 0644]