is_type_type.hpp 699 B

12345678910111213141516171819202122232425
  1. // (C) Copyright Edward Diener 2011-2015
  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_VMD_DETAIL_IS_TYPE_TYPE_HPP)
  6. #define BOOST_VMD_DETAIL_IS_TYPE_TYPE_HPP
  7. #include <boost/vmd/detail/type_registration.hpp>
  8. #include <boost/vmd/detail/match_single_identifier.hpp>
  9. /*
  10. Check to see if the 'id' is BOOST_VMD_TYPE_TYPE
  11. Returns 1 if it is, else 0
  12. */
  13. #define BOOST_VMD_DETAIL_IS_TYPE_TYPE(id) \
  14. BOOST_VMD_DETAIL_MATCH_SINGLE_IDENTIFIER(id,BOOST_VMD_TYPE_TYPE) \
  15. /**/
  16. #endif /* BOOST_VMD_DETAIL_IS_TYPE_TYPE_HPP */