#include "TestHasTypeCheckTypedef.hpp" #include int main() { // You can always instantiate without compiler errors tti::TheInteger aVar; tti::has_type_check_typedef_NoOtherType aVar2; // Compile time asserts BOOST_MPL_ASSERT((tti::has_type_check_typedef_AnIntType)); BOOST_MPL_ASSERT((tti::NameStruct)); BOOST_MPL_ASSERT((tti::has_type_check_typedef_AnIntTypeReference)); BOOST_MPL_ASSERT((tti::has_type_check_typedef_BType)); BOOST_MPL_ASSERT((tti::TheInteger)); BOOST_MPL_ASSERT((tti::has_type_check_typedef_CType)); BOOST_MPL_ASSERT((tti::has_type_check_typedef_AnotherIntegerType)); BOOST_MPL_ASSERT((tti::SomethingElse)); return 0; }