It is guaranteed that an unnamed space is unique for each translation unit. If you put local names in a unnamed namespace, you don't need to give them internal linkage by making them static.
第一句翻译的不对。这句话的意思是:“无名的名字空间”对于每个编译单元都是独一无二的。
It is guaranteed that an unnamed space is unique for each translation unit. If you put local names in a unnamed namespace, you don't need to give them internal linkage by making them static.
第一句翻译的不对。这句话的意思是:“无名的名字空间”对于每个编译单元都是独一无二的。
应用推荐