Anonymous (unnamed) namespaces are a great C++11 tool for controlling the linkage of symbols.
Any symbols inside an unnamed namespace will have internal linkage, i.e. the symbols are only visible to the translation unit.
Compiler Explorer link: https://compiler-explorer.com/z/fz9b95nPs