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_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP) |
8 | #define TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP |
9 | |
10 | #include <boost/preprocessor/config/config.hpp> |
11 | |
12 | #if BOOST_PP_VARIADICS |
13 | |
14 | #include "test_structs.hpp" |
15 | #include <boost/tti/has_template.hpp> |
16 | |
17 | BOOST_TTI_HAS_TEMPLATE(ATPMemberTemplate,class) |
18 | BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveCL,CLMemberTemplate,class,class) |
19 | BOOST_TTI_HAS_TEMPLATE(AMemberTemplate,int) |
20 | BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveAnotherMT,AnotherMemberTemplate,int,int) |
21 | BOOST_TTI_HAS_TEMPLATE(SomeMemberTemplate,class,class,class,class,class,class) |
22 | BOOST_TTI_TRAIT_HAS_TEMPLATE(ATemplateWithParms,ManyParameters,class,class,int,class,template <class> class,class,long) |
23 | BOOST_TTI_HAS_TEMPLATE(SimpleTMP,class,class,class,class) |
24 | BOOST_TTI_HAS_TEMPLATE(TemplateNotExist,int,class,template <class> class ATemplate) |
25 | BOOST_TTI_TRAIT_HAS_TEMPLATE(WrongParametersForMP,ManyParameters,class,class,int,class,template <class,class> class,class,long) |
26 | BOOST_TTI_TRAIT_HAS_TEMPLATE(WrongParameters2ForMP,ManyParameters,class,long,int,class,template <class> class,class,long) |
27 | |
28 | BOOST_TTI_HAS_TEMPLATE(NestedMemberTemplate,int,class,long) |
29 | |
30 | #endif // BOOST_PP_VARIADICS |
31 | |
32 | #endif // TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP |
33 | |