| description | Learn more about: <ccomplex> | |
|---|---|---|
| title | <ccomplex> | |
| ms.date | 07/11/2019 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | a9fcb5f0-88e3-464b-a5fd-d1afb8cd7e6f |
Includes the C++ standard library header <complex>.
Note
The C standard library <complex.h> header isn't included by <ccomplex>, because it's effectively replaced by the C++ overloads in <complex> and <cmath>. That makes the <ccomplex> header redundant. The <complex.h> header is deprecated in C++. The <ccomplex> header is deprecated in C++17 and removed in the draft C++20 standard.
Header: <ccomplex>
Namespace: std
The name clog, which is declared in <complex.h>, isn't defined in the std namespace because of potential conflicts with the clog that's declared in <iostream>.
<complex>
<cmath>
Header files reference
C++ standard library overview
Thread safety in the C++ standard library