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(TEST_HAS_ENUM_HPP)
8#define TEST_HAS_ENUM_HPP
9
10#include "test_structs.hpp"
11#include <boost/tti/has_enum.hpp>
12
13BOOST_TTI_HAS_ENUM(AnIntType)
14BOOST_TTI_TRAIT_HAS_ENUM(NameStruct,AStructType)
15BOOST_TTI_HAS_ENUM(AnIntTypeReference)
16BOOST_TTI_HAS_ENUM(BType)
17BOOST_TTI_TRAIT_HAS_ENUM(TheInteger,AnIntegerType)
18BOOST_TTI_HAS_ENUM(CType)
19BOOST_TTI_HAS_ENUM(AnotherIntegerType)
20BOOST_TTI_TRAIT_HAS_ENUM(SomethingElse,someOtherType)
21BOOST_TTI_HAS_ENUM(NoOtherType)
22
23BOOST_TTI_TRAIT_HAS_ENUM(EInB,BTypeEnum)
24BOOST_TTI_HAS_ENUM(AnEnumTtype)
25BOOST_TTI_TRAIT_HAS_ENUM(AnotherE,AnotherEnumTtype)
26BOOST_TTI_TRAIT_HAS_ENUM(EClass,AnEnumClassType)
27BOOST_TTI_HAS_ENUM(AnotherEnumClassType)
28
29BOOST_TTI_HAS_ENUM(CTypeUnion)
30BOOST_TTI_TRAIT_HAS_ENUM(SimpleUT,AnUnion)
31BOOST_TTI_HAS_ENUM(AnotherUnion)
32
33BOOST_TTI_HAS_ENUM(UEnumV)
34
35#endif // TEST_HAS_ENUM_HPP
36

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