Skip to content

Commit e6c2f8f

Browse files
committed
[diff.cpp23.expr] Fix environment ("example" should be "codeblock")
1 parent 6850b45 commit e6c2f8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/compatibility.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
that relies on the result of pointer comparison between backing arrays
2525
may change behavior.
2626
For example:
27-
\begin{example}
27+
\begin{codeblock}
2828
bool ne(std::initializer_list<int> a, std::initializer_list<int> b) {
2929
return a.begin() != b.begin() + 1;
3030
}
31-
bool b = ne({2,3}, {1,2,3}); // unspecified result; previously \tcode{false}
32-
\end{example}
31+
bool b = ne({2,3}, {1,2,3}); // unspecified result; previously \tcode{false}
32+
\end{codeblock}
3333

3434
\rSec2[diff.cpp23.strings]{\ref{strings}: strings library}
3535

0 commit comments

Comments
 (0)