Skip to content

Commit 340eac6

Browse files
timsong-cpptkoeppe
authored andcommitted
[ostream.manip] Fix typo where "basic_osyncbuf" should be "basic_syncbuf" (#2004)
1 parent ff08270 commit 340eac6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/iostreams.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6696,15 +6696,15 @@
66966696
\pnum
66976697
\effects
66986698
If \tcode{os.rdbuf()} is a
6699-
\tcode{basic_osyncbuf<charT, traits, Allocator>*},
6699+
\tcode{basic_syncbuf<charT, traits, Allocator>*},
67006700
called \tcode{buf} for the purpose of exposition,
67016701
calls \tcode{buf->set_emit_on_sync(true)}.
67026702
Otherwise this manipulator has no effect.
67036703
\begin{note}
67046704
To work around the issue that the
67056705
\tcode{Allocator} template argument can not be deduced,
67066706
implementations can introduce an intermediate base class
6707-
to \tcode{basic_osyncbuf} that manages its \tcode{emit_on_sync} flag.
6707+
to \tcode{basic_syncbuf} that manages its \tcode{emit_on_sync} flag.
67086708
\end{note}
67096709

67106710
\pnum
@@ -6722,7 +6722,7 @@
67226722
\pnum
67236723
\effects
67246724
If \tcode{os.rdbuf()} is a
6725-
\tcode{basic_osyncbuf<charT, traits, Allocator>*},
6725+
\tcode{basic_syncbuf<charT, traits, Allocator>*},
67266726
called \tcode{buf} for the purpose of exposition,
67276727
calls \tcode{buf->set_emit_on_sync(false)}.
67286728
Otherwise this manipulator has no effect.
@@ -6743,7 +6743,7 @@
67436743
\effects
67446744
Calls \tcode{os.flush()}.
67456745
Then, if \tcode{os.rdbuf()} is a
6746-
\tcode{basic_osyncbuf<charT, traits, Allocator>*},
6746+
\tcode{basic_syncbuf<charT, traits, Allocator>*},
67476747
called \tcode{buf} for the purpose of exposition,
67486748
calls \tcode{buf->emit()}.
67496749

0 commit comments

Comments
 (0)