has_template_gen.hpp 735 B

12345678910111213141516171819202122232425262728293031
  1. // (C) Copyright Edward Diener 2011,2012
  2. // Use, modification and distribution are subject to the Boost Software License,
  3. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt).
  5. #if !defined(BOOST_TTI_TEMPLATE_GEN_HPP)
  6. #define BOOST_TTI_TEMPLATE_GEN_HPP
  7. #include <boost/preprocessor/cat.hpp>
  8. /*
  9. The succeeding comments in this file are in doxygen format.
  10. */
  11. /** \file
  12. */
  13. /// Generates the macro metafunction name for BOOST_TTI_HAS_TEMPLATE.
  14. /**
  15. name = the name of the class template.
  16. returns = the generated macro metafunction name.
  17. */
  18. #define BOOST_TTI_HAS_TEMPLATE_GEN(name) \
  19. BOOST_PP_CAT(has_template_,name) \
  20. /**/
  21. #endif // BOOST_TTI_TEMPLATE_GEN_HPP