Magic statics make function-local statics thread-safe — the Meyers singleton becomes correct by default, and the static-initialization-order fiasco (SIOF) is dodged by construct-on-first-use.
Config& config(){
static Config c = load(); // initialized once, thread-safe, on first usereturn c;
}
inline variables let globals live in headers with one definition — but dynamic initialization order across TUs is still unspecified; keep them constexpr where possible.