[webkit-dev] Initializing member variables

Ryosuke Niwa rniwa at apple.com
Thu Sep 19 14:55:28 PDT 2024


Should we do:

struct Foo {
    int bar = 0;
}

Or

struct Foo {
    int bar { 0 };
}

We do both at the moment.

- R. Niwa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20240919/b06abe14/attachment.htm>


More information about the webkit-dev mailing list