From: Lewis Hyatt (lhyatt_at_[hidden])
Date: 2007-03-01 14:22:47
> Alas. Comparison of pointers does not yield a constant expression.
Right, of course not, but I think what I proposed satisfies everything the OP
wanted. He didn't require that the comparison be done at compile time, only that
the ordinal value be less-than-comparable and that the value should be generated
and available at compile time.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk