Effective C++ -----条款23:宁以non-member、non-friend替换member函数

宁可拿non-member non-friend函数替换member函数。这样做可以增加封装性、包裹弹性(packaging flexibility)和机能扩充性。

原文地址:https://www.cnblogs.com/wen-ge/p/4328423.html