Inline variables
suggest changeVersions
Introduction
An inline variable (C++17) may be defined in multiple translation units without violating the One Definition Rule, provided that every definition is identical. The linker then merges those definitions into a single object in the final program.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents