Add noexcept to tuple<> and simplify tuple<T1,T2> noexcept-specifiers
authorJonathan Wakely <jwakely@redhat.com>
Fri, 31 May 2019 14:58:05 +0000 (15:58 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 31 May 2019 14:58:05 +0000 (15:58 +0100)
commitb1bb4869e2708c1385352e4d960833e1b258859b
treeeea6af3e88138f26abea6feb0f42a99494a223a2
parent1facd6278b85e2866b487b72c1f5f671c5ae9e4a
Add noexcept to tuple<> and simplify tuple<T1,T2> noexcept-specifiers

* include/std/tuple (tuple<>): Add noexcept to allocator-extended
constructors.
(tuple<T1, T2>::__nothrow_default_constructible()): New helper
function.
(tuple<T1, T2>::tuple(), explicit tuple<T1, T2>::tuple()): Use helper.

From-SVN: r271814
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple