Skip to content

Commit cf07497

Browse files
committed
[diff.cpp17.library] Fix description of how to adjust code for the
removal of <ccomplex> and <ctgmath>.
1 parent fa04176 commit cf07497

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

source/compatibility.tex

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,23 @@
20012001
\tcode{<cstdalign>},
20022002
\tcode{<cstdbool>}, and
20032003
\tcode{<ctgmath>}.
2004-
The \tcode{\#include} directives can simply be removed with no loss of meaning.
2004+
To retain the same behavior:
2005+
\begin{itemize}
2006+
\item
2007+
a \tcode{\#include} of \tcode{<ccomplex>} can be replaced by
2008+
a \tcode{\#include} of \tcode{<complex>}\iref{complex.syn},
2009+
\item
2010+
a \tcode{\#include} of \tcode{<ctgmath>} can be replaced by
2011+
a \tcode{\#include} of \tcode{<cmath>}\iref{cmath.syn} and
2012+
a \tcode{\#include} of \tcode{<complex>},
2013+
and
2014+
\item
2015+
a \tcode{\#include} of
2016+
\tcode{<ciso646>},
2017+
\tcode{<cstdalign>}, or
2018+
\tcode{<cstdbool>}
2019+
can simply be removed.
2020+
\end{itemize}
20052021

20062022
\rSec2[diff.cpp17.containers]{\ref{containers}: containers library}
20072023

0 commit comments

Comments
 (0)