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: "Yves dot Renard at gmm dot insa-tlse dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2003 11:18:42 -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 Yves dot Renard at gmm dot insa-tlse dot fr 2003-11-10 11:18 -------
(In reply to comment #3 and #4)
Ok, this means that
float x;
does not initialize x, but
float x = float();
does initialize x to zero.
and this is the same between
float v[56] // does not initialize v
and
std::vector<float> v(56); // does initialize each component of v
This is a little bit strange to me but I suppose this is the norm.
Anyway, thank you very much for the information.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12961