1 2 // (C) Copyright Edward Diener 2011 3 // Use, modification and distribution are subject to the Boost Software License, 4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 // http://www.boost.org/LICENSE_1_0.txt). 6 7 #if !defined(TEST_HAS_TEMPLATE_HPP) 8 #define TEST_HAS_TEMPLATE_HPP 9 10 #include "test_structs.hpp" 11 #include <boost/tti/has_template.hpp> 12 13 #if BOOST_PP_VARIADICS 14 15 BOOST_TTI_HAS_TEMPLATE(ATPMemberTemplate) 16 BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveCL,CLMemberTemplate,BOOST_PP_NIL) 17 BOOST_TTI_HAS_TEMPLATE(AMemberTemplate) 18 BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveAnotherMT,AnotherMemberTemplate,BOOST_PP_NIL) 19 BOOST_TTI_HAS_TEMPLATE(SomeMemberTemplate,BOOST_PP_NIL) 20 BOOST_TTI_TRAIT_HAS_TEMPLATE(ATemplateWithParms,ManyParameters) 21 BOOST_TTI_HAS_TEMPLATE(SimpleTMP,BOOST_PP_NIL) 22 BOOST_TTI_HAS_TEMPLATE(TemplateNotExist) 23 24 BOOST_TTI_HAS_TEMPLATE(UnionMemberTemplate) 25 26 #else // !BOOST_PP_VARIADICS 27 28 BOOST_TTI_HAS_TEMPLATE(ATPMemberTemplate,BOOST_PP_NIL) 29 BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveCL,CLMemberTemplate,BOOST_PP_NIL) 30 BOOST_TTI_HAS_TEMPLATE(AMemberTemplate,BOOST_PP_NIL) 31 BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveAnotherMT,AnotherMemberTemplate,BOOST_PP_NIL) 32 BOOST_TTI_HAS_TEMPLATE(SomeMemberTemplate,BOOST_PP_NIL) 33 BOOST_TTI_TRAIT_HAS_TEMPLATE(ATemplateWithParms,ManyParameters,BOOST_PP_NIL) 34 BOOST_TTI_HAS_TEMPLATE(SimpleTMP,BOOST_PP_NIL) 35 BOOST_TTI_HAS_TEMPLATE(TemplateNotExist,BOOST_PP_NIL) 36 37 BOOST_TTI_HAS_TEMPLATE(UnionMemberTemplate,BOOST_PP_NIL) 38 39 #endif // BOOST_PP_VARIADICS 40 41 #endif // TEST_HAS_TEMPLATE_HPP 42