Not sure if you mean the current code or my example. Yes when it's the former, no when it's the latter. The example demonstrates C++'s single definition rule - you can declare something a million times but you define it only once (to give it linkage). It sounds like the definition part was the issue here.

With all that said, the current code doesn't bother me, it's just that the comment is bogus.