【发布时间】:2011-04-05 02:09:08
【问题描述】:
这样替换是否合法:
namespace foo {
namespace bar {
baz();
}
}
类似这样的:
namespace foo::bar {
baz();
}
?
【问题讨论】:
-
你想通过这个达到什么目的?
-
这适用于 c++17。
-
你会在询问的7年后看到它:)
标签: c++ namespaces scope