Skip to content

[defns.erroneous], [basic.indet] Index 'erroneous behavior' and 'erroneous value' #7044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 1 addition & 3 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3748,8 +3748,6 @@
\rSec2[basic.indet]{Indeterminate and erroneous values}

\pnum
\indextext{value!indeterminate}%
\indextext{indeterminate value}%
When storage for an object with automatic or dynamic storage duration
is obtained,
the bytes comprising the storage for the object
Expand All @@ -3762,7 +3760,7 @@
the \tcode{[[indeterminate]]} attribute\iref{dcl.attr.indet},
the bytes have \defnadjx{indeterminate}{values}{value};
\item
otherwise, the bytes have erroneous values,
otherwise, the bytes have \defnadjx{erroneous}{values}{value},
where each value is determined by the implementation
independently of the state of the program.
\end{itemize}
Expand Down
1 change: 1 addition & 0 deletions source/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
\definition{dynamic type}{defns.dynamic.type.prvalue}
\defncontext{prvalue} \termref{defns.static.type}{static type}{} of the prvalue expression

\indexdefn{behavior!erroneous}%
\definition{erroneous behavior}{defns.erroneous}
well-defined behavior that the implementation is recommended to diagnose
\begin{defnote}
Expand Down
Loading