S[] s = [{ 1, 2 }];

Nice, did´n knew that it worked.

On Friday, 21 October 2016 at 21:41:16 UTC, Daniel Kozak wrote:
Because there is no need. In c++ it is disaster because there is milion way how to initialize something, it is really hard to understand and inconsistent

I never really felt lost about it with c++, but the argument holds true anyway :)

Reply via email to