Inline variables

suggest change

Versions

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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents