gracicot@discuss.tchncs.deOPtoC++@discuss.tchncs.de•The move constructor that you have to declare, even though you don't want anyone to actually call it - The Old New ThingEnglish
1·
1 year agoI 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.
This is actually what I did. I declared it and left a comment to explain why it needed to be left unimplemented.