Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9383,11 +9383,12 @@
std::meta::define_aggregate(^^S7, {}); // error: consteval block \#1 does not enclose itself,
// but encloses \tcode{S7}

struct S8; // local class
consteval { // \#2
std::meta::define_aggregate(^^S6, {}); // error: consteval block \#1 encloses
// consteval block \#2 but not \tcode{S6}

std::meta::define_aggregate(^^S7, {}); // OK, consteval block \#1 encloses both \#2 and \tcode{S7}
std::meta::define_aggregate(^^S8, {}); // OK, consteval block \#1 encloses both \#2 and \tcode{S8}
}
}
\end{codeblock}
Expand Down