• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 //  (C) Copyright Edward Diener 2019
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(BOOST_TEST_HAS_FUNCTION_TEMPLATE_HPP)
8 #define BOOST_TEST_HAS_FUNCTION_TEMPLATE_HPP
9 
10 #include "test_structs.hpp"
11 #include <boost/tti/has_function_template.hpp>
12 
13 #if BOOST_PP_VARIADICS
14 
15 BOOST_TTI_HAS_FUNCTION_TEMPLATE(StatFuncTemplate,int,bool,37)
16 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(Sftem,SomeFuncTemplate,char,unsigned,float,925)
17 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(AnFT,AFuncTemplate,unsigned,45623)
18 BOOST_TTI_HAS_FUNCTION_TEMPLATE(AFuncTemplate,double,unsigned char,int)
19 BOOST_TTI_HAS_FUNCTION_TEMPLATE(FTHasDef,int)
20 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(ACFunTem,AConstFunctionTemplate,unsigned,int)
21 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(WConstFT,WFunctionTmp,int,long,unsigned long)
22 BOOST_TTI_HAS_FUNCTION_TEMPLATE(AVolatileFT,int)
23 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(VTempl,VolFTem,int,44339)
24 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(ACVF,ACVFunTemplate,int,long)
25 BOOST_TTI_HAS_FUNCTION_TEMPLATE(ConstVolTTFun,7371)
26 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(AnotherFT,AnotherFuncTemplate,int,long,bool)
27 
28 BOOST_TTI_HAS_FUNCTION_TEMPLATE(MyFuncTemplate,unsigned char)
29 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(VWDef,VWithDefault,3281)
30 BOOST_TTI_HAS_FUNCTION_TEMPLATE(YetAnotherFuncTemplate,int,unsigned char)
31 BOOST_TTI_HAS_FUNCTION_TEMPLATE(StaticFTWithDefault,long,int,long)
32 
33 BOOST_TTI_HAS_FUNCTION_TEMPLATE(Nonexistent,int,long)
34 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(NotExist,TDoesNotExist,char)
35 
36 #else
37 
38 BOOST_TTI_HAS_FUNCTION_TEMPLATE(StatFuncTemplate,(3,(int,bool,37)))
39 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(Sftem,SomeFuncTemplate,(4,(char,unsigned,float,925)))
40 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(AnFT,AFuncTemplate,(2,(unsigned,45623)))
41 BOOST_TTI_HAS_FUNCTION_TEMPLATE(AFuncTemplate,(3,(double,unsigned char,int)))
42 BOOST_TTI_HAS_FUNCTION_TEMPLATE(FTHasDef,(1,(int)))
43 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(ACFunTem,AConstFunctionTemplate,(2,(unsigned,int)))
44 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(WConstFT,WFunctionTmp,(3,(int,long,unsigned long)))
45 BOOST_TTI_HAS_FUNCTION_TEMPLATE(AVolatileFT,(1,(int)))
46 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(VTempl,VolFTem,(2,(int,44339)))
47 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(ACVF,ACVFunTemplate,(2,(int,long)))
48 BOOST_TTI_HAS_FUNCTION_TEMPLATE(ConstVolTTFun,(1,(7371)))
49 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(AnotherFT,AnotherFuncTemplate,(3,(int,long,bool)))
50 
51 BOOST_TTI_HAS_FUNCTION_TEMPLATE(MyFuncTemplate,(1,(unsigned char)))
52 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(VWDef,VWithDefault,(1,(3281)))
53 BOOST_TTI_HAS_FUNCTION_TEMPLATE(YetAnotherFuncTemplate,(2,(int,unsigned char)))
54 BOOST_TTI_HAS_FUNCTION_TEMPLATE(StaticFTWithDefault,(3,(long,int,long)))
55 
56 BOOST_TTI_HAS_FUNCTION_TEMPLATE(Nonexistent,(2,(int,long)))
57 BOOST_TTI_TRAIT_HAS_FUNCTION_TEMPLATE(NotExist,TDoesNotExist,(1,(char)))
58 
59 #endif
60 
61 #endif // BOOST_TEST_HAS_FUNCTION_TEMPLATE_HPP
62