File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1644
1644
\end {bnf }
1645
1645
1646
1646
\pnum
1647
- A simple requirement asserts the validity of an expression.
1647
+ A \grammarterm {simple-requirement} asserts
1648
+ the validity of an \grammarterm {expression}.
1648
1649
\begin {note }
1649
1650
The enclosing \grammarterm {requires-expression} will evaluate to \tcode {false}
1650
1651
if substitution of template arguments into the \grammarterm {expression} fails.
1668
1669
\end {bnf }
1669
1670
1670
1671
\pnum
1671
- A type requirement asserts the validity of a type.
1672
+ A \grammarterm { type- requirement} asserts the validity of a type.
1672
1673
\begin {note }
1673
1674
The enclosing \grammarterm {requires-expression} will evaluate to \tcode {false}
1674
1675
if substitution of template arguments fails.
1687
1688
\end {example }
1688
1689
1689
1690
\pnum
1690
- A type requirement that names a class template specialization
1691
+ A \grammarterm { type- requirement} that names a class template specialization
1691
1692
does not require that type to be complete~(\ref {basic.types }).
1692
1693
1693
1694
\rSec 3[expr.prim.req.compound]{Compound requirements}
You can’t perform that action at this time.
0 commit comments