I have simple question
Let's say I have two functions in C++:
void DoSomething();
and
bool DoSomething();
Is there any difference in memory or speed between these two functions?
And second question, related to first: I suppose that there is speed difference, as bool has to return some value. But I don't have to use return value at all. So, would it be good for me to declare DoSomething() as bool, just in case I decided to return something in the future?