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).
7 #if !defined(BOOST_TTI_ENUM_GEN_HPP)
8 #define BOOST_TTI_ENUM_GEN_HPP
10 #include <boost/preprocessor/cat.hpp>
14 The succeeding comments in this file are in doxygen format.
21 /// Generates the macro metafunction name for BOOST_TTI_HAS_ENUM.
23 name = the name of the enumeration.
25 returns = the generated macro metafunction name.
27 #define BOOST_TTI_HAS_ENUM_GEN(name) \
28 BOOST_PP_CAT(has_enum_,name) \
31 #endif // BOOST_TTI_ENUM_GEN_HPP