Temporary objects as function parameters or when-is-this-shit-going-to-end?

Dgame r.schuett.1987 at gmail.com
Fri Oct 13 12:56:02 UTC 2017


On Friday, 13 October 2017 at 12:08:00 UTC, Jack Applegame wrote:
> On Friday, 13 October 2017 at 12:03:55 UTC, Dgame wrote:
>> Interesting. If you remove the CTor in Foo it works again.
> If you remove DTor it works again too. :)

That's one of these times where it would be helpful to see the 
generated AST.


More information about the Digitalmars-d-learn mailing list