Skip to content

Commit af40423

Browse files
jwakelyzygoloid
authored andcommitted
[stringbuf.virtuals] Rephrase DR 453 resolution for seekoff
This avoids the requirement to compare newoff to zero when the value of newoff hasn't been determined.
1 parent 776fea1 commit af40423

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

source/iostreams.tex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7676,14 +7676,16 @@
76767676
\end{libtab2}
76777677

76787678
\pnum
7679-
For a sequence to be positioned, if its next pointer
7679+
For a sequence to be positioned,
7680+
the function determines \tcode{newoff} as indicated in
7681+
Table~\ref{tab:iostreams.newoff.values}.
7682+
If the sequence's next pointer
76807683
(either
76817684
\tcode{gptr()}
76827685
or
76837686
\tcode{pptr()})
7684-
is a null pointer and the new offset \tcode{newoff} is nonzero, the positioning
7685-
operation fails. Otherwise, the function determines \tcode{newoff} as indicated in
7686-
Table~\ref{tab:iostreams.newoff.values}.
7687+
is a null pointer and \tcode{newoff} is nonzero,
7688+
the positioning operation fails.
76877689

76887690
\begin{libtab2}{\tcode{newoff} values}{tab:iostreams.newoff.values}
76897691
{lp{2.0in}}{Condition}{\tcode{newoff} Value}

0 commit comments

Comments
 (0)