Why doesn't <ctgmath> include <ccomplex>?

Marc Glisse marc.glisse@inria.fr
Wed Sep 17 14:55:00 GMT 2014


On Wed, 17 Sep 2014, Jonathan Wakely wrote:

> Our <ctgmath> only includes <cmath>, not <ccomplex> as required by
> 26.8 [c.math] paragraph 1.
>
> Is that intentional?

Probably not (I don't know), but if you change it, please include 
<complex> instead of the nonsensical (and equivalent) <ccomplex>. I hope 
we can deprecate that one at some point, I would even be in favor of 
adding a #warning to it asking why on earth the user decided to include 
it.

-- 
Marc Glisse



More information about the Libstdc++ mailing list