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
17BOOST_TTI_HAS_TEMPLATE(ATPMemberTemplate,class)
18BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveCL,CLMemberTemplate,class,class)
19BOOST_TTI_HAS_TEMPLATE(AMemberTemplate,int)
20BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveAnotherMT,AnotherMemberTemplate,int,int)
21BOOST_TTI_HAS_TEMPLATE(SomeMemberTemplate,class,class,class,class,class,class)
22BOOST_TTI_TRAIT_HAS_TEMPLATE(ATemplateWithParms,ManyParameters,class,class,int,class,template <class> class,class,long)
23BOOST_TTI_HAS_TEMPLATE(SimpleTMP,class,class,class,class)
24BOOST_TTI_HAS_TEMPLATE(TemplateNotExist,int,class,template <class> class ATemplate)
25BOOST_TTI_TRAIT_HAS_TEMPLATE(WrongParametersForMP,ManyParameters,class,class,int,class,template <class,class> class,class,long)
26BOOST_TTI_TRAIT_HAS_TEMPLATE(WrongParameters2ForMP,ManyParameters,class,long,int,class,template <class> class,class,long)
27
28BOOST_TTI_HAS_TEMPLATE(NestedMemberTemplate,int,class,long)
29
30#endif // BOOST_PP_VARIADICS
31
32#endif // TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP
33

source code of boost/libs/tti/test/test_vm_has_template_cp.hpp