dftclass.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_FTCLASS_HPP)
  6. #define BOOST_TTI_DETAIL_FTCLASS_HPP
  7. #include <boost/function_types/parameter_types.hpp>
  8. #include <boost/mpl/at.hpp>
  9. #include <boost/mpl/identity.hpp>
  10. #include <boost/mpl/int.hpp>
  11. #include <boost/mpl/quote.hpp>
  12. namespace boost
  13. {
  14. namespace tti
  15. {
  16. namespace detail
  17. {
  18. template<class BOOST_TTI_DETAIL_TP_F>
  19. struct class_type :
  20. boost::mpl::at
  21. <
  22. typename
  23. boost::function_types::parameter_types
  24. <
  25. BOOST_TTI_DETAIL_TP_F,
  26. boost::mpl::quote1
  27. <
  28. boost::mpl::identity
  29. >
  30. >::type,
  31. boost::mpl::int_<0>
  32. >
  33. {
  34. };
  35. }
  36. }
  37. }
  38. #endif // BOOST_TTI_DETAIL_FTCLASS_HPP