Is there a way I can assert that two constant expressions are equal at compile time?
e.g. I want this to cause a compile-time error
enum { foo=263,
See static_assert (C++0x only); if on an older version, see Boost's StaticAssert.