How would one implement a ternary comparison operator to determine, for example, the boolean value of a < b < c?
a < b < c
Why do you need an operator?
inline bool RangeCheck(int a, int b, int c) { return a < b && b < c; }
or:
#define RANGE_CHECK(a, b, c) (((a) < (b)) && ((b) < (c)))