How to implement static class member functions in *.cpp file?

前端 未结 8 1495
Happy的楠姐
Happy的楠姐 2020-12-07 15:35

Is it possible to implement static class member functions in *.cpp file instead of doing it in the header file ?

Are all static functions a

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-07 16:04

    Sure You can. I'd say that You should.

    This article may be usefull:
    http://www.learncpp.com/cpp-tutorial/812-static-member-functions/

提交回复
热议问题