D Uniform initialization {}

Patric Dexheimer via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 21 11:49:02 PDT 2016


Quite sure that this was already discussed, but.. any chance of 
this on D?
(one of the few things that i miss from c++)

There are a lot of places where it should make the code clear.
I always have to create shorter aliases for the most used 
structs. (which i think is awkward sometimes)

I know there is the case of being ambiguous with lambdas, but 
after reading this thread 
https://forum.dlang.org/thread/nud21i$o29$1@digitalmars.com
uniform initialization comes to my mind again :)









More information about the Digitalmars-d mailing list