Skip to content

Commit 359cc0c

Browse files
jensmaurertkoeppe
authored andcommitted
[dcl.dcl] Change example for static_assert (#1923)
1 parent 5a98cbf commit 359cc0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
\begin{example}
175175

176176
\begin{codeblock}
177-
static_assert(char(-1) < 0, "this library requires plain 'char' to be signed");
177+
static_assert(sizeof(int) == sizeof(void*), "wrong pointer size");
178178
\end{codeblock}\end{example}
179179

180180
\pnum

0 commit comments

Comments
 (0)