Annex D (normative)
Compatibility features
[depr]
D.10
C headers
[depr.c.headers]
D.10.6
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>
and
<complex>
.
2
#
[
Note
1
:
The overloads provided in C by type-generic macros are already provided in
<complex>
and
<cmath>
by “sufficient” additional overloads
.
—
end note
]
3
#
[
Note
2
:
Names introduced by
<cmath>
or
<complex>
in namespace
std
are not placed into the global namespace scope by
<tgmath.h>
.
—
end note
]