Re: c++0x N2756 Non-static data member initializers status

2008-10-24 Thread Chris
I checked the gcc code, if anyone wants to try to add this. latest of cvs as of today gcc/cp/decl.c : 9141 add a cxx_dialect == cxx0x check so it doesn't error on the static only member init gcc/cp/init.c perform_member_init If the member has no initialization, grab the init tree and perform t

c++0x N2756 Non-static data member initializers status

2008-10-21 Thread Chris
Hi, I noticed N2756 is not on the gcc c++0x status page (probably because it's new). Any ideas if and when this would be implemented? It would be life-changing. class A { public: A() { } private: int x = 5; int y = 0; };