
29 Sep
2004
29 Sep
'04
2:34 p.m.
Hi Volodya.
Maybe, we can just decide that all reasonable compilers support NRVO, and stop worring about returning vectors/list by value?
Hmmm... I do not think VC7.1 supports NRVO (it does support unnamed RVO though). Do you consider it a 'reasonable compiler'? Or should we say that it does not matter if that compiler generated slower code? Best regards, Jurko