7.14 — Unnamed and inline namespaces
C++ supports two variants of namespaces that are worth at least knowing about. We won’t build on these, so consider this lesson optional for now. Unnamed (anonymous) namespaces An (also called an ) is a namespace that is defined without a name, like so: #include <iostream> namespace // unnamed namespace …