[DIP] In-place struct initialization
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 4 01:06:22 PDT 2016
On Thursday, 4 August 2016 at 00:57:16 UTC, Chris Wright wrote:
>> Curly braces are already extremely overloaded. They can start
>> a block statement, a delegate literal, a struct literal and
>> I'm sure I forgot something.
>
> q{} strings.
this is unambiguous. and, btw, it blocks "inline delegate
arguments" syntax (foo{return 42;}). and any other syntax like
that.
T_T
More information about the Digitalmars-d
mailing list