consider using anonymous namespaces for internal linkage
jjallaire opened this issue · comments
J.J. Allaire commented
It's really just a matter of taste but you could protect the linkage of source-file level helpers by enclosing them in an anonymous namespace (rather than using static). e.g.
namespace {
int helper() {
// etc
}
}