Universal Construction Syntax for Pointers?

Philippe Sigaud via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 14 05:06:41 PDT 2014


> And I don't think it should, because the heap allocation that you're
> probably expecting should be explicit IMO. For me it's also unintuitive,
> because I would read it as constructing a pointer that points to the address
> 3.

I agree. I'm trying to get a feel on the limits of this new
'type(value)' syntax.


More information about the Digitalmars-d-learn mailing list