假设我已经或即将编写一组相关函数.假设他们与数学有关.在组织上,我应该:
MyMath
MyMath::XYZ()
为什么我会选择一个作为组织我的软件的方法?
c++ static-methods namespaces
c++ ×1
namespaces ×1
static-methods ×1