1 2 3 4 5 6 7 8 9 10 11 12 13
struct Vector { Vector() : x(0), y(0), z(0) { } float x,y,z; }; struct Foo { int dummy; // commenting this out makes it run perfectly Vector array_of_vectors[4]; }; Foo foo; int main() { }