Skip to content

Commit 81f6035

Browse files
burblebeetkoeppe
authored andcommitted
CWG2806 Make a type-requirement a type-only context
1 parent 7cb9798 commit 81f6035

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

source/expressions.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2942,6 +2942,8 @@
29422942

29432943
\pnum
29442944
A \grammarterm{type-requirement} asserts the validity of a type.
2945+
The component names of a \grammarterm{type-requirement} are those of its
2946+
\grammarterm{nested-name-specifier} (if any) and \grammarterm{type-name}.
29452947
\begin{note}
29462948
The enclosing \grammarterm{requires-expression} will evaluate to \keyword{false}
29472949
if substitution of template arguments fails.

source/templates.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4355,6 +4355,7 @@
43554355
\begin{itemize}
43564356
\item a
43574357
\grammarterm{typename-specifier},
4358+
\grammarterm{type-requirement},
43584359
\grammarterm{nested-name-specifier},
43594360
\grammarterm{elaborated-type-specifier},
43604361
\grammarterm{class-or-decltype}, or

0 commit comments

Comments
 (0)