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
2 changes: 1 addition & 1 deletion source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9442,7 +9442,7 @@
constexpr int f() {
const int n = std::is_constant_evaluated() ? 13 : 17; // \tcode{n} is 13
int m = std::is_constant_evaluated() ? 13 : 17; // \tcode{m} can be 13 or 17 (see below)
char arr[n] = {}; // char[13]
char arr[n] = {}; // \tcode{char[13]}
return m + sizeof(arr);
}
int p = f(); // \tcode{m} is 13; initialized to 26
Expand Down
Loading