Reputation: 2293
If CPP file defines
namespace
{
void Function() { ... }
}
what is the scope of Function
?
Upvotes: 0
Views: 54
Reputation: 2293
File Scope. In this case Function
is accessible only within the file it is defined in.
Upvotes: 1