You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 4101_consteval_only_values/consteval-only-values.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -545,7 +545,7 @@ An invocation is an _immediate invocation_ if it [is a potentially-evaluated exp
545
545
[24]{.pnum} A potentially-evaluated expression or conversion is _immediate-escalating_ if it is neither initially in an immediate function context nor a subexpression of an immediate invocation, and [either]{.addu}
546
546
547
547
* [#.1]{.pnum} it is an `$id-expression$` or `$splice-expression$` that designates an immediate function [or an immediate object, or]{.addu}
548
-
* [#.2]{.pnum} it is an immediate invocation that is not a constant expression[, or]{.rm} [.]{.addu}
548
+
* [#.2]{.pnum} it is an immediate invocation that [either]{.addu} is not a constant expression[,]{.rm} or [is an immediate constant expression.]{.addu}
549
549
* [#.3]{.pnum} [it is of consteval-only type ([basic.types.general]).]{.rm}
550
550
551
551
[25]{.pnum} An *immediate-escalating* function is [...]
it is an immediate invocation that is not a constant expression<spanclass="rm" style="color: #bf0303"><del>, or</del></span><spanclass="addu">.</span></li>
1499
+
it is an immediate invocation that <spanclass="addu">either</span> is
1500
+
not a constant expression<spanclass="rm" style="color: #bf0303"><del>,</del></span> or <spanclass="addu">is an
0 commit comments