开发者

What is the scope of function within anonymous namespace in VC++?

If CPP file def开发者_运维技巧ines

namespace 
{
 void Function() { ... }
}

what is the scope of Function?


File Scope. In this case Function is accessible only within the file it is defined in.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜