To be honest, up until recently, I mistakenly thought the compiler DID
do this. (Yea, my mistake.)

Is it possible I had confused structs with static arrays? Do static
arrays do that?

Maybe you were thinking about named return value optimization (which applies to return values, not parameters)?

Reply via email to