32 lines
710 B
C++
32 lines
710 B
C++
|
|
||
|
// (C) Copyright Edward Diener 2019
|
||
|
// 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(BOOST_TTI_CLASS_GEN_HPP)
|
||
|
#define BOOST_TTI_CLASS_GEN_HPP
|
||
|
|
||
|
#include <boost/preprocessor/cat.hpp>
|
||
|
|
||
|
/*
|
||
|
|
||
|
The succeeding comments in this file are in doxygen format.
|
||
|
|
||
|
*/
|
||
|
|
||
|
/** \file
|
||
|
*/
|
||
|
|
||
|
/// Generates the macro metafunction name for BOOST_TTI_HAS_CLASS.
|
||
|
/**
|
||
|
name = the name of the class/struct.
|
||
|
|
||
|
returns = the generated macro metafunction name.
|
||
|
*/
|
||
|
#define BOOST_TTI_HAS_CLASS_GEN(name) \
|
||
|
BOOST_PP_CAT(has_class_,name) \
|
||
|
/**/
|
||
|
|
||
|
#endif // BOOST_TTI_CLASS_GEN_HPP
|