Adding noexcept-specification on tuple constructors (LWG 2899)

Programming / Compilers / GCC - ville [138bc75d-0d04-0410-961f-82ee72b054a4] - 28 April 2019 21:17 EDT

2019-04-28 Nina Dinka Ranns

- 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

a4360611483 Adding noexcept-specification on tuple constructors (LWG 2899)
libstdc++-v3/ChangeLog | 17 +
libstdc++-v3/include/std/tuple | 39 +
.../testsuite/20_util/tuple/cons/noexcept_specs.cc | 943 +++++++++++++++++++++
3 files changed, 999 insertions(+)

Upstream: gcc.gnu.org


  • Share