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 261261
262262 class Inner {
263263 void fn() {
264- /* P1 */ Incomplete i; // OK
264+ /* @ $ p_ 1 $ @ */ Incomplete i; // OK
265265 }
266- }; /* P2 */
266+ }; /* @ $ p_ 2 $ @ */
267267
268268 consteval {
269269 define_aggregate(^^Incomplete, {});
270270 }
271- }; /* P3 */
271+ }; /* @ $ p_ 3 $ @ */
272272\end {codeblock }
273- Constructs at P1 are analyzed in a context
273+ Constructs at $ p_ 1 $ are analyzed in a context
274274where the side effect of the call to \tcode {define_aggregate} is evaluated
275275because
276276\begin {itemize }
277277\item
278278$ E$ is the expression corresponding to a consteval block, and
279279\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 $ .
282282\end {itemize }
283283\end {example }
284284
You can’t perform that action at this time.
0 commit comments