#include "TestHasTemplate.hpp" #include int main() { // You can always instantiate without compiler errors tti::has_template_AMemberTemplate aVar; tti::HaveAnotherMT aVar2; tti::has_template_SomeMemberTemplate aVar3; tti::has_template_TemplateNotExist aVar4; // Compile time asserts BOOST_MPL_ASSERT((tti::has_template_ATPMemberTemplate)); BOOST_MPL_ASSERT((tti::HaveCL)); BOOST_MPL_ASSERT((tti::has_template_SimpleTMP)); return 0; }