On Fri, Nov 1, 2019 at 11:19 am, Ryosuke Niwa <rn...@webkit.org> wrote:
Namely, some people write a lambda as:
auto x = [] () { }

with a space between [] and () while others would write it as:

auto x = []() { }

🔧: I omit the () when there are no parameters, as in these examples.

No preference on spacing.


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

Reply via email to