Partially initialized structs?

Arredondo arm.plus at gmail.com
Thu Feb 27 02:09:29 UTC 2025


On Thursday, 27 February 2025 at 01:22:07 UTC, Hipreme wrote:
> And no, it won't create 2 copies. D has a thing called Return 
> Value Optimization. Since that local variable is returned, it 
> has no need to copy it.

That's great to know. Thank you!


More information about the Digitalmars-d-learn mailing list