rickhill11
asked on
Calling a Class Library function without explicitly using the class name
Suppose we have a namespace "MyFavoriteLibrary" and within that there is a class called "MyLib and within MyLib is a function called "MyFunct."
I believe that I can call that function by MyFavoriteLibrary::MyLib:: MyFunct()
I believe that I can also use
using namespace MyFavoriteLibrary;
MyLib::MyFunct();
Is there a way to set-up the library or application to simply call
MyFunct();
I believe that I can call that function by MyFavoriteLibrary::MyLib::
I believe that I can also use
using namespace MyFavoriteLibrary;
MyLib::MyFunct();
Is there a way to set-up the library or application to simply call
MyFunct();
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.