This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12961] Problem with generic complex constructor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2003 07:14:45 -0000
- Subject: [Bug libstdc++/12961] Problem with generic complex constructor
- References: <20031108091954.12961.Yves.Renard@gmm.insa-tlse.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-10 07:14 -------
Sorry but the standard says to do from 26.2.2:
complex(const T& re = T(), const T& im= T());
and float() is the same as float(0) (likewise for double and long double.
Sorry but the standard says othereise for all of your constructors.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12961