我有一个要求,其中一个(const)变量应该在整个cpp中可用,它由几个类组成.我决定使用命名空间来解决问题,但不确定以下内容:
c++ static namespaces
c++ ×1
namespaces ×1
static ×1