Samuel sayeth:

> A good reason for using the
>
> Foo()
>      : x(0)
>      , y(0)
> {
> }
>
> syntax for initializer lists after all is to make diffs easier to read
> when adding or removing a member variable. The same argument could be
> made for permitting braces for one-line if-statements.
>

+1, that's a really helpful style for the base/member initializer list.

--charley
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to