]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
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_TTI_UNION_GEN_HPP) | |
8 | #define BOOST_TTI_UNION_GEN_HPP | |
9 | ||
10 | #include <boost/preprocessor/cat.hpp> | |
11 | ||
12 | /* | |
13 | ||
14 | The succeeding comments in this file are in doxygen format. | |
15 | ||
16 | */ | |
17 | ||
18 | /** \file | |
19 | */ | |
20 | ||
21 | /// Generates the macro metafunction name for BOOST_TTI_HAS_UNION. | |
22 | /** | |
23 | name = the name of the union. | |
24 | ||
25 | returns = the generated macro metafunction name. | |
26 | */ | |
27 | #define BOOST_TTI_HAS_UNION_GEN(name) \ | |
28 | BOOST_PP_CAT(has_union_,name) \ | |
29 | /**/ | |
30 | ||
31 | #endif // BOOST_TTI_UNION_GEN_HPP |