Discussion Thread: DIP 1040--Copying, Moving, and Forwarding--Community Review Round 1
Ben Jones
fake at fake.fake
Fri Mar 5 21:04:23 UTC 2021
On Friday, 5 March 2021 at 20:29:01 UTC, tsbockman wrote:
> Very small structs are often placed in registers when passed by
> value.
> This optimization would need to be disabled for any type with a
> move constructor.
I'm not sure it would need to be disabled. I think the only part
that would really apply here is who has to call the constructor.
More information about the Digitalmars-d
mailing list