complex.h

Marc Glisse marc.glisse@inria.fr
Mon Aug 13 11:17:00 GMT 2012


On Mon, 13 Aug 2012, Gabriel Dos Reis wrote:

> On Fri, Aug 10, 2012 at 7:00 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>> Let's CC Gaby, who likes to keep an eye on patches involving <complex>
>
> Thanks Jonathan.
>
> The patch is OK -- though I suspect we should have a documentation note
> about the extension of allowing other C99 complex functions in <complex.h>.

Thanks.

What about adding at the end of this page:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/numerics.html#numerics.complex.processing

"As an extension to C++11 and for increased compatibility with C, 
<complex.h> includes both <complex> and the C99 <complex.h> (if the C 
library provides it)."

(there may be better places and better explanations...)

-- 
Marc Glisse



More information about the Libstdc++ mailing list