File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 261
261
262
262
class Inner {
263
263
void fn() {
264
- /* P1 */ Incomplete i; // OK
264
+ /* @ $ p_ 1 $ @ */ Incomplete i; // OK
265
265
}
266
- }; /* P2 */
266
+ }; /* @ $ p_ 2 $ @ */
267
267
268
268
consteval {
269
269
define_aggregate(^^Incomplete, {});
270
270
}
271
- }; /* P3 */
271
+ }; /* @ $ p_ 3 $ @ */
272
272
\end {codeblock }
273
- Constructs at P1 are analyzed in a context
273
+ Constructs at $ p_ 1 $ are analyzed in a context
274
274
where the side effect of the call to \tcode {define_aggregate} is evaluated
275
275
because
276
276
\begin {itemize }
277
277
\item
278
278
$ E$ is the expression corresponding to a consteval block, and
279
279
\item
280
- P1 is in a complete-class context of \tcode {S} and
281
- the consteval block is reachable from P3 .
280
+ $ p_ 1 $ is in a complete-class context of \tcode {S} and
281
+ the consteval block is reachable from $ p_ 3 $ .
282
282
\end {itemize }
283
283
\end {example }
284
284
You can’t perform that action at this time.
0 commit comments