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

前端 未结 0 1004
Happy的楠姐
Happy的楠姐 2020-12-16 00:21

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

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