[Bug c++/33916] Default constructor fails to initialize array members

2007-10-31 Thread gdr at gcc dot gnu dot org
--- Comment #2 from gdr at gcc dot gnu dot org 2007-11-01 02:16 --- I concur with Lawrence' analysis. I was bitten by this bug myself in my own code. -- gdr at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/33916] Default constructor fails to initialize array members

2007-10-31 Thread crowl at google dot com
--- Comment #1 from crowl at google dot com 2007-10-31 20:08 --- The wording in the C++ standard working paper is as follows: 8.5 Initializers [dcl.init] -8- An object whose initializer is an empty set of parentheses, i.e., (), shall be value-initialized. Therefore, in <<< Stats my