Skip to content

Commit 3aebb04

Browse files
committed
P3923R0: Re NB US 225-341 (C++26 CD)
Fixes NB US 225-341 (C++26 CD).
1 parent 5af40bf commit 3aebb04

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

source/utilities.tex

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,9 +1662,11 @@
16621662
public:
16631663
// \ref{tuple.cnstr}, \tcode{tuple} construction
16641664
constexpr explicit(@\seebelow@) tuple();
1665-
constexpr explicit(@\seebelow@) tuple(const Types&...); // only if \tcode{sizeof...(Types) >= 1}
1665+
constexpr explicit(@\seebelow@) tuple(const Types&...) // only if \tcode{sizeof...(Types) >= 1}
1666+
noexcept(@\seebelow@);
16661667
template<class... UTypes>
1667-
constexpr explicit(@\seebelow@) tuple(UTypes&&...); // only if \tcode{sizeof...(Types) >= 1}
1668+
constexpr explicit(@\seebelow@) tuple(UTypes&&...) // only if \tcode{sizeof...(Types) >= 1}
1669+
noexcept(@\seebelow@);
16681670

16691671
tuple(const tuple&) = default;
16701672
tuple(tuple&&) = default;
@@ -1840,7 +1842,8 @@
18401842

18411843
\indexlibraryctor{tuple}%
18421844
\begin{itemdecl}
1843-
constexpr explicit(@\seebelow@) tuple(const Types&...);
1845+
constexpr explicit(@\seebelow@) tuple(const Types&...)
1846+
noexcept((is_nothrow_copy_constructible_v<Types> && ...));
18441847
\end{itemdecl}
18451848

18461849
\begin{itemdescr}
@@ -1864,7 +1867,8 @@
18641867

18651868
\indexlibraryctor{tuple}%
18661869
\begin{itemdecl}
1867-
template<class... UTypes> constexpr explicit(@\seebelow@) tuple(UTypes&&... u);
1870+
template<class... UTypes> constexpr explicit(@\seebelow@) tuple(UTypes&&... u)
1871+
noexcept((is_nothrow_constructible_v<Types, UTypes> && ...));
18681872
\end{itemdecl}
18691873

18701874
\begin{itemdescr}

0 commit comments

Comments
 (0)