Annex D (normative)
Compatibility features
[depr]
D.6
C standard library headers
[depr.c.headers]
D.6.5
Header
<tgmath.h>
synopsis
[depr.tgmath.h.syn]
#include <cmath> #include <complex>
1
#
The header
<tgmath.h>
behaves as if it simply includes the headers
<cmath>
(
[cmath.syn]
) and
<complex>
(
[complex.syn]
)
.
2
#
[
Note
:
The overloads provided in C by type-generic macros are already provided in
<complex>
and
<cmath>
by “sufficient” additional overloads
.
—
end note
]
3
#
[
Note
:
Names introduced by
<cmath>
or
<complex>
in namespace
std
are not placed into the global namespace scope by
<tgmath.h>
.
—
end note
]