#include "TestHasTypeCheckTypedef.hpp" #include int main() { // You can always instantiate without compiler errors tti::TheInteger aVar; tti::has_type_NoOtherType aVar2; // Compile time asserts BOOST_MPL_ASSERT((tti::has_type_AnIntType)); BOOST_MPL_ASSERT((tti::NameStruct)); BOOST_MPL_ASSERT((tti::has_type_AnIntTypeReference)); BOOST_MPL_ASSERT((tti::has_type_BType)); BOOST_MPL_ASSERT((tti::TheInteger)); BOOST_MPL_ASSERT((tti::has_type_CType)); BOOST_MPL_ASSERT((tti::has_type_AnotherIntegerType)); BOOST_MPL_ASSERT((tti::SomethingElse)); return 0; }