[DIP] In-place struct initialization

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 3 17:57:16 PDT 2016


On Wed, 03 Aug 2016 20:30:07 +0000, deadalnix wrote:

> On Sunday, 31 July 2016 at 14:38:33 UTC, Lodovico Giaretta wrote:
>> I support this idea of extending curly-brace initializers. It would be
>> very useful and less ambiguous than parenthesized initializers.
>>
>>
> 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.


More information about the Digitalmars-d mailing list