Ray's playground

 

Item 23: Prefer non-member non-friend functions to member functions(Effective C++)

Prefer non-member non-friend functions to member functions. Doing so increases encapsulation, packaging flexibility, and functional extensibility.

posted on 2011-03-28 12:02  Ray Z  阅读(155)  评论(0编辑  收藏  举报

导航