+1 for { }.

— Timothy Hatcher

On Sep 19, 2024, at 2:55 PM, Ryosuke Niwa via webkit-dev <webkit-dev@lists.webkit.org> wrote:


Should we do:

struct Foo {
    int bar = 0;
}

Or

struct Foo {
    int bar { 0 };
}

We do both at the moment.

- R. Niwa

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev