This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Before reformat: class A { int m = 0; public: A(int o) : m {o} { } void foo(); }; void A::foo() { } int main() { int m{11}; A a(11); a.foo(); return 0; } After reformat: A(int o) : m { o } { } Expected: A(int o) : m {o} { }
*** Bug 250831 has been marked as a duplicate of this bug. ***
fixed, change set: http://hg.netbeans.org/cnd-main/rev/5f9e50da4060
Integrated into 'main-silver', will be available in build *201503310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5f9e50da4060 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #246062 C++11: reformat and brace-initialization