What is the One-Definition Rule?
The truth is in the standard (3.2 One definition rule) : No translation unit shall contain more than one definition of any variable, function, class type, enumeration type or template. […] Every program shall contain exactly one definition of every non-inline function or object that is used in that program; no diagnostic required. The definition … Read more