Skip to content

Commit 7963a15

Browse files
eisenwavetkoeppe
authored andcommitted
P3923R0: Re NB US 225-341 (C++26 CD)
Fixes NB US 225-341 (C++26 CD).
1 parent 53be238 commit 7963a15

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
@@ -1674,9 +1674,11 @@
16741674
public:
16751675
// \ref{tuple.cnstr}, \tcode{tuple} construction
16761676
constexpr explicit(@\seebelow@) tuple();
1677-
constexpr explicit(@\seebelow@) tuple(const Types&...); // only if \tcode{sizeof...(Types) >= 1}
1677+
constexpr explicit(@\seebelow@) tuple(const Types&...) // only if \tcode{sizeof...(Types) >= 1}
1678+
noexcept(@\seebelow@);
16781679
template<class... UTypes>
1679-
constexpr explicit(@\seebelow@) tuple(UTypes&&...); // only if \tcode{sizeof...(Types) >= 1}
1680+
constexpr explicit(@\seebelow@) tuple(UTypes&&...) // only if \tcode{sizeof...(Types) >= 1}
1681+
noexcept(@\seebelow@);
16801682

16811683
tuple(const tuple&) = default;
16821684
tuple(tuple&&) = default;
@@ -1852,7 +1854,8 @@
18521854

18531855
\indexlibraryctor{tuple}%
18541856
\begin{itemdecl}
1855-
constexpr explicit(@\seebelow@) tuple(const Types&...);
1857+
constexpr explicit(@\seebelow@) tuple(const Types&...)
1858+
noexcept((is_nothrow_copy_constructible_v<Types> && ...));
18561859
\end{itemdecl}
18571860

18581861
\begin{itemdescr}
@@ -1876,7 +1879,8 @@
18761879

18771880
\indexlibraryctor{tuple}%
18781881
\begin{itemdecl}
1879-
template<class... UTypes> constexpr explicit(@\seebelow@) tuple(UTypes&&... u);
1882+
template<class... UTypes> constexpr explicit(@\seebelow@) tuple(UTypes&&... u)
1883+
noexcept((is_nothrow_constructible_v<Types, UTypes> && ...));
18801884
\end{itemdecl}
18811885

18821886
\begin{itemdescr}

0 commit comments

Comments
 (0)