[@PasserBy has found that my question is a duplicate. The question can be closed, thanks.]
How can I get a named namespace with internal linkage? That is, how can I get a named namespace invisible to external source files? I want this:
static namespace N {
    int foo() {return 10;}
    int bar() {return 20;}
}
However, unfortunately, C++ does not recognize static namespace.
