In VC2005 I have something like this:
And I get the warningCode:struct t { int ia[100]; struct s { int a, b, c; } type; t() : ia(), type() { } };
What is that new behavior thing? Should I not depend on this behavior? Is there a better way to default initialize members of the array? Also, am I guaranteed that all members of type will be default initialized?Code:warning C4351: new behavior: elements of array 'CWindow::_ia' will be default initialized