Skip to content

Commit b80d382

Browse files
authored
[defns.erroneous,basic.indet] Index 'erroneous behavior' and 'erroneous value' (#7044)
1 parent 4b3f32a commit b80d382

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

source/basic.tex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3748,8 +3748,6 @@
37483748
\rSec2[basic.indet]{Indeterminate and erroneous values}
37493749

37503750
\pnum
3751-
\indextext{value!indeterminate}%
3752-
\indextext{indeterminate value}%
37533751
When storage for an object with automatic or dynamic storage duration
37543752
is obtained,
37553753
the bytes comprising the storage for the object
@@ -3762,7 +3760,7 @@
37623760
the \tcode{[[indeterminate]]} attribute\iref{dcl.attr.indet},
37633761
the bytes have \defnadjx{indeterminate}{values}{value};
37643762
\item
3765-
otherwise, the bytes have erroneous values,
3763+
otherwise, the bytes have \defnadjx{erroneous}{values}{value},
37663764
where each value is determined by the implementation
37673765
independently of the state of the program.
37683766
\end{itemize}

source/intro.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
\definition{dynamic type}{defns.dynamic.type.prvalue}
249249
\defncontext{prvalue} \termref{defns.static.type}{static type}{} of the prvalue expression
250250

251+
\indexdefn{behavior!erroneous}%
251252
\definition{erroneous behavior}{defns.erroneous}
252253
well-defined behavior that the implementation is recommended to diagnose
253254
\begin{defnote}

0 commit comments

Comments
 (0)