harttle.github.io icon indicating copy to clipboard operation
harttle.github.io copied to clipboard

2015/08/18/effective-cpp-21

Open utterances-bot opened this issue 6 years ago • 1 comments

Effective C++ 21:需要返回对象时,不要返回引用 | Harttle Land

永远不要返回局部对象的引用或指针或堆空间的指针,如果客户需要多个返回对象时也不能是局部静态对象的指针或引用。

https://harttle.land/2015/08/18/effective-cpp-21.html

utterances-bot avatar Dec 04 '18 03:12 utterances-bot

现在有move了

ghost avatar Dec 04 '18 03:12 ghost