An unnamed namespace ( 8 . 2 . 5 ) can be used to make names local to a compilation unit . the effect of an unnamed namespace is very similar to that of internal linkage 一个无名字的命名空间可以来制作只作用于本地局部编辑单元的区域。它的作用和只在模块内连接非常相似。
Any types declared within a namespace or at the top level of a compilation unit for example , not within a namespace , class , or struct are internal by default , but can be made public 默认情况下,在命名空间中或在编译单元顶部(例如,不在命名空间、类或结构中)声明的任何类型都是内部的,但是可以成为公共的。
For a single executable , the constructors of all native global objects will be called before the constructor of any managed global object , regardless of whether the native and managed objects exist in the same compilation unit 对于单个可执行文件,将在任何托管全局对象的构造函数之前调用所有本机全局对象的构造函数,而不考虑本机和托管对象是否存在于相同的编译单元中。