1 
2 //  (C) Copyright Edward Diener 2011,2012,2013
3 //  Use, modification and distribution are subject to the Boost Software License,
4 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 //  http://www.boost.org/LICENSE_1_0.txt).
6 
7 #if !defined(BOOST_TTI_DETAIL_PTMF_HPP)
8 #define BOOST_TTI_DETAIL_PTMF_HPP
9 
10 #include <boost/mpl/push_front.hpp>
11 #include <boost/function_types/member_function_pointer.hpp>
12 
13 namespace boost
14   {
15   namespace tti
16     {
17     namespace detail
18       {
19       template
20         <
21         class BOOST_TTI_DETAIL_TP_T,
22         class BOOST_TTI_DETAIL_TP_R,
23         class BOOST_TTI_DETAIL_TP_FS,
24         class BOOST_TTI_DETAIL_TP_TAG
25         >
26       struct ptmf_seq
27         {
28         typedef typename
29         boost::function_types::member_function_pointer
30           <
31           typename
32           boost::mpl::push_front
33             <
34             typename
35             boost::mpl::push_front<BOOST_TTI_DETAIL_TP_FS,BOOST_TTI_DETAIL_TP_T>::type,
36             BOOST_TTI_DETAIL_TP_R
37             >::type,
38           BOOST_TTI_DETAIL_TP_TAG
39           >::type type;
40         };
41       }
42     }
43   }
44 
45 #endif // BOOST_TTI_DETAIL_PTMF_HPP
46