dtfunction.hpp 954 B

12345678910111213141516171819202122232425262728293031323334
  1. // (C) Copyright Edward Diener 2011,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_TFUNCTION_HPP)
  6. #define BOOST_TTI_DETAIL_TFUNCTION_HPP
  7. #include <boost/mpl/push_front.hpp>
  8. #include <boost/function_types/function_type.hpp>
  9. namespace boost
  10. {
  11. namespace tti
  12. {
  13. namespace detail
  14. {
  15. template
  16. <
  17. class BOOST_TTI_DETAIL_TP_R,
  18. class BOOST_TTI_DETAIL_TP_FS,
  19. class BOOST_TTI_DETAIL_TP_TAG
  20. >
  21. struct tfunction_seq
  22. {
  23. typedef typename boost::mpl::push_front<BOOST_TTI_DETAIL_TP_FS,BOOST_TTI_DETAIL_TP_R>::type ftseq;
  24. typedef typename boost::function_types::function_type<ftseq,BOOST_TTI_DETAIL_TP_TAG>::type type;
  25. };
  26. }
  27. }
  28. }
  29. #endif // BOOST_TTI_DETAIL_TFUNCTION_HPP