Skip to content

Fix sections numbers in existing \xrefc and \IsoC #8113

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion source/algorithms.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14497,4 +14497,4 @@
Any exception thrown by \tcode{compar}\iref{res.on.exception.handling}.
\end{itemdescr}

\xrefc{7.24.5}
\xrefc{7.24.6}
2 changes: 1 addition & 1 deletion source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5396,7 +5396,7 @@
\end{note}
\begin{note}
The signed and unsigned integer types satisfy
the constraints given in \IsoC{} 5.2.4.2.1.
the constraints given in \IsoC{} 5.3.5.3.2.
\end{note}
Except as specified above,
the width of a signed or unsigned integer type is
Expand Down
2 changes: 1 addition & 1 deletion source/future.tex
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
The header defines these macros the same as
the C standard library header \libheader{float.h}.

\xrefc{5.2.4.2.2, 7.33.5}
\xrefc{5.3.5.3.3, 7.33.6}

\pnum
In addition to being available via inclusion of the \libheader{cfloat} header,
Expand Down
2 changes: 1 addition & 1 deletion source/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@
Accesses through volatile glvalues are evaluated strictly according to the
rules of the abstract machine.
\item
Data is delivered to the host environment to be written into files (\xrefc{7.21.3}).
Data is delivered to the host environment to be written into files (\xrefc{7.23.3}).

\begin{note}
Delivering such data
Expand Down
8 changes: 4 additions & 4 deletions source/iostreams.tex
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@
can result in interleaved characters.
\end{note}

\xrefc{7.21.2}
\xrefc{7.23.2}

\rSec2[narrow.stream.objects]{Narrow stream objects}

Expand Down Expand Up @@ -7876,7 +7876,7 @@
\end{itemize}
Unconditionally unlocks \tcode{stream} on function exit.

\xrefc{7.21.2}.
\xrefc{7.23.2}.

\begin{note}
On Windows the native Unicode API is \tcode{WriteConsoleW} and
Expand Down Expand Up @@ -18990,15 +18990,15 @@
The return from each function call
that delivers data
to the host environment
to be written to a file (\xrefc{7.21.3})
to be written to a file (\xrefc{7.23.3})
is an observable checkpoint\iref{intro.abstract}.

\pnum
Calls to the function \tcode{tmpnam} with an argument that is a null pointer value may
introduce a data race\iref{res.on.data.races} with other calls to \tcode{tmpnam} with
an argument that is a null pointer value.

\xrefc{7.21}
\xrefc{7.23}

\rSec2[cinttypes.syn]{Header \tcode{<cinttypes>} synopsis}

Expand Down
2 changes: 1 addition & 1 deletion source/memory.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2207,7 +2207,7 @@
\tcode{::operator delete()}\indexlibrarymember{delete}{operator}.
\end{itemdescr}

\xrefc{7.22.3}
\xrefc{7.24.4}

\rSec1[smartptr]{Smart pointers}

Expand Down
6 changes: 3 additions & 3 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6966,7 +6966,7 @@
\end{note}
\end{itemdescr}

\xrefc{7.22.2}
\xrefc{7.24.3}

\indextext{random number generation|)}

Expand Down Expand Up @@ -9895,7 +9895,7 @@
The absolute value of \tcode{x}.
\end{itemdescr}

\xrefc{7.12.7.2, 7.22.6.1}
\xrefc{7.12.8.3, 7.24.7.1}

\rSec2[c.math.hypot3]{Three-dimensional hypotenuse}

Expand Down Expand Up @@ -9949,7 +9949,7 @@
The classification / comparison functions behave the same as the C macros with the
corresponding names defined in the C standard library.

\xrefc{7.12.3, 7.12.4}
\xrefc{7.12.4, 7.12.18}

\rSec2[sf.cmath]{Mathematical special functions}%

Expand Down
14 changes: 7 additions & 7 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
\ref{support.types.nullptr} and
\ref{support.types.layout}.

\xrefc{7.22}
\xrefc{7.21}

\rSec2[cstdlib.syn]{Header \tcode{<cstdlib>} synopsis}

Expand Down Expand Up @@ -297,7 +297,7 @@
\tcode{(void*)0}.
\end{footnote}

\xrefc{7.22}
\xrefc{7.21}

\rSec2[support.types.layout]{Sizes, alignments, and offsets}

Expand Down Expand Up @@ -352,7 +352,7 @@
requirement is supported in every context\iref{basic.align}.
\tcode{std::is_trivially_default_constructible_v<max_align_t>} is \tcode{true}.

\xrefc{7.22}
\xrefc{7.21}

\rSec2[support.types.byteops]{\tcode{byte} type operations}

Expand Down Expand Up @@ -1828,7 +1828,7 @@
type of \tcode{T}\iref{conv.prom}.
\end{note}

\xrefc{5.2.4.2.1}
\xrefc{5.3.5.3.2}

\rSec2[cfloat.syn]{Header \tcode{<cfloat>} synopsis}

Expand Down Expand Up @@ -1884,7 +1884,7 @@
The header \libheader{cfloat} defines all macros the same as
the C standard library header \libheader{float.h}.

\xrefc{5.2.4.2.2}
\xrefc{5.3.5.3.3}

\rSec1[support.arith.types]{Arithmetic types}

Expand Down Expand Up @@ -2328,7 +2328,7 @@
when the functions registered with \tcode{at_quick_exit} are.
\end{itemdescr}

\xrefc{7.24.4}
\xrefc{7.24.5}

\rSec1[support.dynamic]{Dynamic memory management}

Expand Down Expand Up @@ -6410,7 +6410,7 @@
standard library header \libheader{stdarg.h}, with the following changes:
\begin{itemize}
\item
In lieu of the default argument promotions specified in \IsoC{} 6.5.2.2,
In lieu of the default argument promotions specified in \IsoC{} 6.5.3.3,
the definition in~\ref{expr.call} applies.
\item
The preprocessing tokens
Expand Down
12 changes: 6 additions & 6 deletions source/text.tex
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
Nothing.
\end{itemdescr}

\xrefc{7.21.6.1}
\xrefc{7.23.6.2}

\rSec2[charconv.from.chars]{Primitive numeric input conversion}

Expand Down Expand Up @@ -348,7 +348,7 @@
Nothing.
\end{itemdescr}

\xrefc{7.22.1.3, 7.22.1.4}
\xrefc{7.24.2.6, 7.24.2.8}

\rSec1[localization]{Localization library}

Expand Down Expand Up @@ -13088,7 +13088,7 @@
The contents and meaning of the header \libheaderdef{cwctype}
are the same as the C standard library header \libheader{wctype.h}.

\xrefc{7.30}
\xrefc{7.32}

\rSec2[cwchar.syn]{Header \tcode{<cwchar>} synopsis}

Expand Down Expand Up @@ -13317,7 +13317,7 @@
These functions have the semantics specified in the C standard library.
\end{itemdescr}

\xrefc{7.22.7.1, 7.22.8, 7.29.6.2.1}
\xrefc{7.24.8.2, 7.24.9, 7.31.6.3.1}

\indexlibraryglobal{mbtowc}%
\indexlibraryglobal{wctomb}%
Expand All @@ -13338,7 +13338,7 @@
with other calls to the same function.
\end{itemdescr}

\xrefc{7.22.7}
\xrefc{7.24.8}

\begin{itemdecl}
size_t @\libglobal{mbrlen}@(const char* s, size_t n, mbstate_t* ps);
Expand Down Expand Up @@ -13368,4 +13368,4 @@
with an \tcode{mbstate_t*} argument that is a null pointer value.
\end{itemdescr}

\xrefc{7.30.1, 7.31.6.3, 7.31.6.4}
\xrefc{7.30.2, 7.31.6.4, 7.31.6.5}