I need to find some way to mock an overload of a function return type in C++.
I know that there isn\'t a way to do that directly, but I\'m hoping there\'s some out-o
Unfortunately there is no way to overload the function return type see this answer Overloading by return type