2 ms·
With a few exceptions, functions and operators are allowed, in C++, to exist outside a class, which addresses your (valid) concern.
by Koshkin 10y ago
With a few exceptions, functions and operators are allowed, in C++, to exist outside a class, which addresses your (valid) concern.