Skip to content

Commit 667f54a

Browse files
committed
[depr.strstreambuf.virtuals] Fix a collection of formatting issues (paragraph
numbers in the middle of a bullet in the middle of a paragraph, half of a paragraph accidentally incorporated into a table, missing begin/end of bulleted list). Fixes #381.
1 parent 4a58c68 commit 667f54a

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

source/future.tex

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -602,15 +602,14 @@
602602
assigns \tcode{c} to
603603
\tcode{*pnext++}.
604604

605-
\pnum
606605
Returns
607606
\tcode{(unsigned char)c}.
607+
608608
\item
609609
If
610610
\tcode{c == EOF},
611611
there is no character to append.
612612

613-
\pnum
614613
Returns a value other than \tcode{EOF}.
615614
\end{itemize}
616615

@@ -679,7 +678,6 @@
679678
\tcode{gnext - 1}
680679
to \tcode{gnext}.
681680

682-
\pnum
683681
Returns \tcode{c}.
684682
\item
685683
If
@@ -689,7 +687,6 @@
689687
assigns \tcode{c} to
690688
\tcode{*\dcr{}gnext}.
691689

692-
\pnum
693690
Returns
694691
\tcode{c}.
695692
\item
@@ -700,7 +697,6 @@
700697
\tcode{gnext - 1}
701698
to \tcode{gnext}.
702699

703-
\pnum
704700
Returns a value other than
705701
\tcode{EOF}.
706702
\end{itemize}
@@ -745,7 +741,6 @@
745741
assigning to \tcode{gend} a value greater than \tcode{gnext} and
746742
no greater than \tcode{pnext}.
747743

748-
\pnum
749744
Returns \tcode{(unsigned char*)gnext}.
750745
\end{itemize}
751746

@@ -801,17 +796,15 @@
801796
\tcode{way == ios::cur} &
802797
the next pointer minus the beginning pointer (\tcode{xnext - xbeg}). \\ \rowsep
803798
\tcode{way == ios::end} &
804-
\tcode{seekhigh} minus the beginning pointer (\tcode{seekhigh - xbeg}).\\ \rowsep
805-
If \tcode{(newoff + off) <}\br
806-
\tcode{(seeklow - xbeg)},\br
807-
or \tcode{(seekhigh - xbeg) <}\br
808-
\tcode{(newoff + off)} &
809-
the positioning operation fails \\
799+
\tcode{seekhigh} minus the beginning pointer (\tcode{seekhigh - xbeg}). \\
810800
\end{libtab2}
811801

812802
\pnum
803+
If \tcode{(newoff + off) < (seeklow - xbeg)}
804+
or \tcode{(seekhigh - xbeg) < (newoff + off)},
805+
the positioning operation fails.
813806
Otherwise, the function assigns
814-
\tcode{xbeg} + \tcode{newoff} + \tcode{off}
807+
\tcode{xbeg + newoff + off}
815808
to the next pointer \tcode{xnext}.
816809

817810
\pnum
@@ -851,12 +844,14 @@
851844
positions the output sequence.
852845
\item
853846
If the function positions neither sequence, the positioning operation fails.
847+
\end{itemize}
854848

855849
\pnum
856850
For a sequence to be positioned, if its next pointer is a null pointer,
857851
the positioning operation fails.
858852
Otherwise, the function determines \tcode{newoff} from
859853
\tcode{sp.offset()}:
854+
\begin{itemize}
860855
\item
861856
If \tcode{newoff} is an invalid stream position,
862857
has a negative value, or

0 commit comments

Comments
 (0)