New feature in git-head: Uniform construction for built-in types
Andrej Mitrovic
andrej.mitrovich at gmail.com
Fri Mar 7 03:41:23 PST 2014
https://github.com/D-Programming-Language/dmd/pull/1356 was recently
merged (pull by Kenji), implementing this enhancement:
https://d.puremagic.com/issues/show_bug.cgi?id=9112
Example code:
-----
int n = int(1);
int *p = new int(1);
assert(*p == 1);
-----
I'm just curious what people think about the new feature. Discuss!
More information about the Digitalmars-d
mailing list