Is it possible to check this:
template struct X{};
What I mean by this is, is it possible to check that va
Boost is the right way, but want you really want is what is coming the new C++0x standard: static asserts. Boost already implements it in boost_staticassert.