summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/tti/test/test_has_template.hpp
blob: cfd6189195b52da2fd4102d1ac1fb5fd2479e551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//  (C) Copyright Edward Diener 2011
//  Use, modification and distribution are subject to the Boost Software License,
//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt).

#if !defined(TEST_HAS_TEMPLATE_HPP)
#define TEST_HAS_TEMPLATE_HPP

#include "test_structs.hpp"
#include <boost/tti/has_template.hpp>

#if BOOST_PP_VARIADICS

BOOST_TTI_HAS_TEMPLATE(ATPMemberTemplate)
BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveCL,CLMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_HAS_TEMPLATE(AMemberTemplate)
BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveAnotherMT,AnotherMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_HAS_TEMPLATE(SomeMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_TRAIT_HAS_TEMPLATE(ATemplateWithParms,ManyParameters)
BOOST_TTI_HAS_TEMPLATE(SimpleTMP,BOOST_PP_NIL)
BOOST_TTI_HAS_TEMPLATE(TemplateNotExist)

#else // !BOOST_PP_VARIADICS

BOOST_TTI_HAS_TEMPLATE(ATPMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveCL,CLMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_HAS_TEMPLATE(AMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_TRAIT_HAS_TEMPLATE(HaveAnotherMT,AnotherMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_HAS_TEMPLATE(SomeMemberTemplate,BOOST_PP_NIL)
BOOST_TTI_TRAIT_HAS_TEMPLATE(ATemplateWithParms,ManyParameters,BOOST_PP_NIL)
BOOST_TTI_HAS_TEMPLATE(SimpleTMP,BOOST_PP_NIL)
BOOST_TTI_HAS_TEMPLATE(TemplateNotExist,BOOST_PP_NIL)

#endif // BOOST_PP_VARIADICS

#endif // TEST_HAS_TEMPLATE_HPP