C++ One Header Multiple Sources

前端 未结 4 873
时光说笑
时光说笑 2021-02-19 22:35

I have a large class Foo1:

class Foo {
public:
    void apples1();
    void apples2();
    void apples3();

    void oranges1();
    void         


        
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-19 23:19

    Actually i don't see any reasons to split implementation because other developers should work with the interface, but not the implementation.

    Also any normal IDE provide an easy ability to jump from function declaration to it's defenition. So there is no reason to search the function implementations manually.

提交回复
热议问题