Why in the next program the member function foo has priority over the global foo although the global one match the type?
#include using name
In terms of priority for scope resolution (default) when using same name of an identifier, local scope, member of class (class scope), global scope