Hacker News new | ask | show | jobs
by Koshkin 3452 days ago
With a few exceptions, functions and operators are allowed, in C++, to exist outside a class, which addresses your (valid) concern.