Skip to content

Commit 280cfe8

Browse files
AlisdairMtkoeppe
authored andcommitted
P2867R2 Remove deprecated strstreams from C++26
Editorial notes: * Rebalanced table columns. * Annex C wording harmonized with existing wording.
1 parent 5a38fd9 commit 280cfe8

File tree

4 files changed

+67
-1039
lines changed

4 files changed

+67
-1039
lines changed

source/compatibility.tex

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,25 @@
190190
\item \tcode{little_endian}.
191191
\end{itemize}
192192

193+
\nodiffref
194+
\change
195+
Remove header \libnoheader{strstream} and all its contents.
196+
\rationale
197+
The header has been deprecated since the original \Cpp{} standard; the
198+
\libheader{spanstream} header provides an updated, safer facility.
199+
Ongoing support is at implementer's discretion,
200+
exercising freedoms granted by \ref{zombie.names}.
201+
\effect
202+
A valid \CppXXIII{} program \tcode{\#include}-ing the header or importing the
203+
header unit may become ill-formed. Code that uses any of the following classes
204+
by importing one of the standard library modules may become ill-formed:
205+
\begin{itemize}
206+
\item \tcode{istrstream}
207+
\item \tcode{ostrstream}
208+
\item \tcode{strstream}
209+
\item \tcode{strstreambuf}
210+
\end{itemize}
211+
193212
\rSec1[diff.cpp20]{\Cpp{} and ISO \CppXX{}}
194213

195214
\rSec2[diff.cpp20.general]{General}

0 commit comments

Comments
 (0)