I would like the following simple function to call the function that called it, however the function is called by multiple functions, so it needs to recognize which function called it specifically and then call it.
int wrong()
{
std::cout << "WRONG \n";
return 0;
}
As a follow up, is this the sort of function that would be better expressed as a void?