2 ms·
> even if the text of a function is identical in different translation units, it can still be ODR-different between them if the symbols that they look up are di
by gpderetta 8y ago
> even if the text of a function is identical in different translation units, it can still be ODR-different between them if the symbols that they look up are different due to other header files included before them declaring different thing
Exactly. This is why you should never put anonymous namespaces and definitions of objects with static linkage in an header file.