uniform initialization in D (as in C++11): i{...}

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 5 00:47:47 PDT 2016


On Tuesday, 5 April 2016 at 05:44:38 UTC, Timothee Cour wrote:
> typo:
> q{...} // comment (existing syntax)
> =>
> q{...} // string literal (existing syntax)
>
> On Mon, Apr 4, 2016 at 10:39 PM, Timothee Cour 
> <thelastmammoth at gmail.com> wrote:
>> [...]

D currently supports
Point3 p = { x:1, y:2, z:3 };

It just needs to be extended to work in more places.

https://issues.dlang.org/show_bug.cgi?id=15692


More information about the Digitalmars-d mailing list