Destructor for struct invoked many times

Antonio Corbi acrb at ggmail.com
Tue Jan 15 11:29:27 UTC 2019


On Tuesday, 15 January 2019 at 10:49:17 UTC, rikki cattermole 
wrote:
> Because you passed it by value to writeln, which goes on to 
> pass it to many other functions.

Thanks Rikki!

I was thinking about something like that.
Antonio


More information about the Digitalmars-d-learn mailing list