We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c10bf3 commit c84e2cbCopy full SHA for c84e2cb
source/expressions.tex
@@ -9381,11 +9381,12 @@
9381
std::meta::define_aggregate(^^S7, {}); // error: consteval block \#1 does not enclose itself,
9382
// but encloses \tcode{S7}
9383
9384
+ struct S8; // local class
9385
consteval { // \#2
9386
std::meta::define_aggregate(^^S6, {}); // error: consteval block \#1 encloses
9387
// consteval block \#2 but not \tcode{S6}
9388
- std::meta::define_aggregate(^^S7, {}); // OK, consteval block \#1 encloses both \#2 and \tcode{S7}
9389
+ std::meta::define_aggregate(^^S8, {}); // OK, consteval block \#1 encloses both \#2 and \tcode{S8}
9390
}
9391
9392
\end{codeblock}
0 commit comments