File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 251
251
\end {note }
252
252
253
253
\pnum
254
- \indextext {\idxgram {static_assert}}%
254
+ \indextext {\idxcode {static_assert}}%
255
255
In a \grammarterm {static_assert-declaration},
256
256
the \grammarterm {constant-expression}
257
257
is contextually converted to \keyword {bool} and
261
261
or the expression is evaluated in the context of a template definition,
262
262
the declaration has no
263
263
effect. Otherwise,
264
- the \grammarterm {static_assert-declaration} fails,
264
+ the \grammarterm {static_assert-declaration} \defnx { fails}{ \idxcode {static_assert}!failed} ,
265
265
the program is ill-formed, and the resulting
266
266
diagnostic message\iref {intro.compliance } should include the text of
267
267
the \grammarterm {string-literal}, if one is supplied.
You can’t perform that action at this time.
0 commit comments