Mail Archives: djgpp/2000/05/16/12:34:57
Eli Zaretskii wrote:
>
> On Mon, 15 May 2000, Martin Ambuhl wrote:
>
> > > Can someone who knows please tell whether double_complex etc. types are
> > > standard C++?
> >
> > They are not. The standard library does provide specializations for
> > complex<float>, complex<double>, and complex<long double>, but these do not
> > include any aliasing typedefs.
>
> So what is the standard C++ complex type? How do I declare a complex
> variable in a way that any standard-complying C++ compiler should
> support?
See my paragraph above. There are three examples of complex<T> named in it.
There is no more a single standard complex type than there is a single
standard floating type (but float, double, long double) or a single integer
type (but [signed|unsigned] char, short int, long int, int).
--
Martin Ambuhl mambuhl AT earthlink DOT net
What one knows is, in youth, of little moment; they know enough who
know how to learn. - Henry Adams
A thick skin is a gift from God. - Konrad Adenauer
__________________________________________________________
Fight spam now!
Get your free anti-spam service: http://www.brightmail.com
- Raw text -