What is the linkage of a static function declared in a non-global namespace?
Example:
namespace foo {
...
static void bar(int a) { }
}
Is this any different than a static method declared at the global namespace scope? Can someone point me to the place in the standard where this is laid out?
Thanks!
staticwhen used in a function at namespace level means internal linkage.The specific quote would be from 3.5 Program Linkage, paragraph 3: