Skip to content

Commit

Permalink
LWG3990 Program-defined specializations of std::tuple and std::varian…
Browse files Browse the repository at this point in the history
…t can't be properly supported

[tuple.tuple.general] New section added as required by "Hanging paragraph" check.
  • Loading branch information
burblebee authored and tkoeppe committed Dec 17, 2023
1 parent f46612d commit 65ab643
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1615,8 +1615,10 @@
\end{itemdescr}

\rSec2[tuple.tuple]{Class template \tcode{tuple}}
\indexlibraryglobal{tuple}%

\rSec3[tuple.tuple.general]{General}

\indexlibraryglobal{tuple}%
\begin{codeblock}
namespace std {
template<class... Types>
Expand Down Expand Up @@ -1742,6 +1744,10 @@
}
\end{codeblock}

\pnum
If a program declares an explicit or partial specialization of \tcode{tuple},
the program is ill-formed, no diagnostic required.

\rSec3[tuple.cnstr]{Construction}

\pnum
Expand Down Expand Up @@ -5051,6 +5057,10 @@
A program that instantiates the definition of \tcode{variant} with
no template arguments is ill-formed.

\pnum
If a program declares an explicit or partial specialization of \tcode{variant},
the program is ill-formed, no diagnostic required.

\rSec3[variant.ctor]{Constructors}

\pnum
Expand Down

0 comments on commit 65ab643

Please sign in to comment.