标签: visual-c++ namespaces
如果CPP文件定义
namespace { void Function() { ... } }
Function的范围是什么?
Function
答案 0 :(得分:1)
文件范围。在这种情况下,Function只能在其定义的文件中访问。