dmetafunc.hpp 805 B

1234567891011121314151617181920212223242526272829
  1. // (C) Copyright Edward Diener 2012,2013
  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_DETAIL_METAFUNC_HPP)
  6. #define BOOST_TTI_DETAIL_METAFUNC_HPP
  7. #include <boost/mpl/has_xxx.hpp>
  8. #include <boost/tti/gen/namespace_gen.hpp>
  9. namespace boost
  10. {
  11. namespace tti
  12. {
  13. namespace detail
  14. {
  15. BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF(is_metafunction_class_apply, apply, false)
  16. template <class BOOST_TTI_DETAIL_TP_T>
  17. struct is_metafunction_class :
  18. BOOST_TTI_NAMESPACE::detail::is_metafunction_class_apply<BOOST_TTI_DETAIL_TP_T>
  19. {
  20. };
  21. }
  22. }
  23. }
  24. #endif // BOOST_TTI_DETAIL_METAFUNC_HPP