New feature in git-head: Uniform construction for built-in types

Dicebot public at dicebot.lv
Fri Mar 7 04:42:24 PST 2014


On Friday, 7 March 2014 at 12:09:48 UTC, Remo wrote:
> But how is this handle in D2, is this real memory allocation in 
> the second example?  Probably no?

"new" always means heap memory allocation, this is the very point 
of using it.

> How about struct, are there any changes about constructors? I 
> hope yes.

It is irrelevant to the linked change.


More information about the Digitalmars-d mailing list