P
Peng Yu
Hi,
On http://www.ddj.com/database/184403855, it says
"...the goal is portable efficiency — 100% elimination of unnecessary
copies, without dependence on one particular RVO implementation."
But if there is RVO in the compiler that I'm using (I think GCC has
it, right?) and I do not care about other compiler, do I still need
the technique mentioned on that webpage?
Thanks,
Peng
On http://www.ddj.com/database/184403855, it says
"...the goal is portable efficiency — 100% elimination of unnecessary
copies, without dependence on one particular RVO implementation."
But if there is RVO in the compiler that I'm using (I think GCC has
it, right?) and I do not care about other compiler, do I still need
the technique mentioned on that webpage?
Thanks,
Peng