[EffectiveC++]item23:Prefer non-member non-friend functions to member functions

 99页

导致较大封装性的是non-member non-friend函数,因为它并不增加“能否访问class内之private成分”的函数数量。

原文地址:https://www.cnblogs.com/jeanschen/p/3229901.html