Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

boost/tti/gen/has_type_gen.hpp


//  (C) Copyright Edward Diener 2011,2012
//  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_TYPE_GEN_HPP)
#define BOOST_TTI_TYPE_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_TYPE.
/**
    name  = the name of the type.

    returns = the generated macro metafunction name.
*/
#define BOOST_TTI_HAS_TYPE_GEN(name) \
  BOOST_PP_CAT(has_type_,name) \
/**/

#endif // BOOST_TTI_TYPE_GEN_HPP