Skip to content

Commit dad1caa

Browse files
committed
[P2867] Remove deprecated strstreams from C++26
As no other polls for Tokyo touch the table of library headers, I rebalanced the table columns. Slight tweak to Annex C drafting when importing header units to be consistent with previous wording --- the intent in LWG was to match precedent.
1 parent fa7c7e5 commit dad1caa

File tree

4 files changed

+58
-1033
lines changed

4 files changed

+58
-1033
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)