File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 434
434
\pnum
435
435
\label {term.unevaluated.operand }%
436
436
In some contexts, \defnx {unevaluated operands}{unevaluated operand}
437
- appear\iref {expr.prim.req,
437
+ appear\iref {expr.prim.req.simple,
438
+ expr.prim.req.compound,
438
439
expr.typeid,
439
440
expr.sizeof,
440
441
expr.unary.noexcept,
2906
2907
\pnum
2907
2908
A \grammarterm {requires-expression} is a prvalue of type \tcode {bool}
2908
2909
whose value is described below.
2909
- Expressions appearing within a \grammarterm {requirement-body}
2910
- are unevaluated operands\iref {term.unevaluated.operand }.
2911
2910
2912
2911
\pnum
2913
2912
\begin {example }
2999
2998
\pnum
3000
2999
A \grammarterm {simple-requirement} asserts
3001
3000
the validity of an \grammarterm {expression}.
3001
+ The \grammarterm {expression} is an unevaluated operand.
3002
3002
\begin {note }
3003
3003
The enclosing \grammarterm {requires-expression} will evaluate to \keyword {false}
3004
3004
if substitution of template arguments into the \grammarterm {expression} fails.
3005
- The \grammarterm {expression} is an unevaluated operand\iref {term.unevaluated.operand }.
3006
3005
\end {note }
3007
3006
\begin {example }
3008
3007
\begin {codeblock }
3070
3069
3071
3070
\pnum
3072
3071
A \grammarterm {compound-requirement} asserts properties
3073
- of the \grammarterm {expression} $ E$ . Substitution
3072
+ of the \grammarterm {expression} $ E$ .
3073
+ The \grammarterm {expression} is an unevaluated operand.
3074
+ Substitution
3074
3075
of template arguments (if any) and verification of
3075
3076
semantic properties proceed in the following order:
3076
3077
You can’t perform that action at this time.
0 commit comments