alias not valid with ~

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 18 19:21:30 PST 2017


On Thursday, 19 January 2017 at 02:51:03 UTC, rikki cattermole 
wrote:
> Now, lets say Y was a struct, then yeah it can work.

In theory, it can work with either (the compiler could just 
insert the function call to alloc+construct), but it won't in D 
since we don't have implicit construction.


More information about the Digitalmars-d-learn mailing list