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_CHECK_PARAMS_HPP)
8#define TEST_HAS_TEMPLATE_CHECK_PARAMS_HPP
9
10#include "test_structs.hpp"
11#include <boost/tti/has_template.hpp>
12
13BOOST_TTI_HAS_TEMPLATE(ATPMemberTemplate,(1,(class)))
14BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveCL,CLMemberTemplate,(2,(class,class)))
15BOOST_TTI_HAS_TEMPLATE(AMemberTemplate,(1,(int)))
16BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveAnotherMT,AnotherMemberTemplate,(2,(int,int)))
17BOOST_TTI_HAS_TEMPLATE(SomeMemberTemplate,(6,(class,class,class,class,class,class)))
18BOOST_TTI_TRAIT_HAS_TEMPLATE(ATemplateWithParms,ManyParameters,(7,(class,class,int,class,template <class> class,class,long)))
19BOOST_TTI_HAS_TEMPLATE(SimpleTMP,(4,(class,class,class,class)))
20BOOST_TTI_HAS_TEMPLATE(TemplateNotExist,(3,(int,class,template <class> class ATemplate)))
21BOOST_TTI_TRAIT_HAS_TEMPLATE(WrongParametersForMP,ManyParameters,(8,(class,class,int,class,template <class,class> class,class,long)))
22BOOST_TTI_TRAIT_HAS_TEMPLATE(WrongParameters2ForMP,ManyParameters,(7,(class,long,int,class,template <class> class,class,long)))
23
24BOOST_TTI_HAS_TEMPLATE(NestedMemberTemplate,(3,(int,class,long)))
25
26#endif // TEST_HAS_TEMPLATE_CHECK_PARAMS_HPP
27

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