DIP 1031--Deprecate Brace-Style Struct Initializers--Community Review Round 1 Discussion

Robert M. Münch robert.muench at saphirion.com
Fri Feb 14 08:23:43 UTC 2020


On 2020-02-13 12:54:26 +0000, Atila Neves said:

>> I never understood (but expect some good reason to exists) why I can't write:
>> 
>> S s(1,2);
>> 
>> which IMO is the most compact and clear form.
> 
> https://en.wikipedia.org/wiki/Most_vexing_parse

As I expected... thanks for the reference.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d mailing list