I\'ve run into a little theoretical problem. In a piece of code I\'m maintaining there\'s a set of macros like
#define MAX_OF_2(a, b) (a) > (b) ? (a
If you're going down this road in C++, take a look at template metaprogramming. It's not pretty, and it may not solve your exact problem, but it will handle recursion.