gracicot

joined 1 year ago
[โ€“] [email protected] 2 points 1 year ago

This is actually what I did. I declared it and left a comment to explain why it needed to be left unimplemented.

[โ€“] [email protected] 1 points 1 year ago (1 children)

I think compiler move return value by default, so even without NRVO you should never move a return value when it's a local non reference variable.