“Avoid returning handles to object internals”, so what's the alternative?

前端 未结 0 934
不知归路
不知归路 2020-12-16 00:13

Effective C++ by Scott Meyers tells in Chapter 5, Item 28 to avoid returning \"handles\" (pointers, references or iterators) to object internals and it definitely makes a go

相关标签:
回答
  • 消灭零回复
提交回复
热议问题