Say I have a Foo class with a member dashboard (). I also have a completely unrelated function, which is also called bar ().
class Foo { void bar() { } } void bar() { }
It seems that any call to bar () from within Foo defaults to a member function.
How to call non-member function from inside Foo?
source share