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.
精彩评论