Class design vs. IDE: Are nonmember nonfriend functions really worth it?

后端 未结 7 1013
面向向阳花
面向向阳花 2020-12-21 00:01

In the (otherwise) excellent book C++ Coding Standards, Item 44, titled \"Prefer writing nonmember nonfriend functions\", Sutter and Alexandrescu recommend

7条回答
  •  隐瞒了意图╮
    2020-12-21 00:54

    If you give them a common prefix, then maybe your IDE will help if you type

    ::prefix
    

    or

    namespace::prefix
    

提交回复
热议问题