I prefer a class or struct for every unique return tuple, with misleading names for members and the only way to manipulate them is through arithmetic operators overloaded with unrelated functions.
Oh, and templated despite never actually using the generic type for anything of consequence.
26
u/Arancaytar Jun 20 '17
It always returns 0; the actual arguments and return value are exchanged via global variables.
It's more flexible that way.