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

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