Skip to content
Open
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/compatibility.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3077,7 +3077,7 @@
int arr1[5];
int arr2[5];
int same = arr1 == arr2; // valid C, ill-formed C++
int idem = arr1 == +arr2; // valid in both C and C++
int idem = arr1 == +arr2; // valid C++, constraint violation in C

Check failure on line 3080 in source/compatibility.tex

View workflow job for this annotation

GitHub Actions / Run checks on Linux

compatibility.tex:3080:use \Cpp{} instead: int idem = arr1 == +arr2; // valid C++, constraint violation in C
\end{codeblock}
\end{example}
\howwide
Expand Down
Loading