I would like to make an alias in C++ to singleton calling
so instead of calling MYCLASS::GetInstance()->someFunction(); each time, I could call just someFunctionAlias(); in my code.
I would like to make an alias in C++ to singleton calling so instead
Share
Use a static function.
Edit: Sorry lads, I wrote static someFunction and meant void someFunction.