10 #ifndef SACADO_MPL_LAMBDA_HPP
11 #define SACADO_MPL_LAMBDA_HPP
25 template <
template<
class T1>
class F,
28 mpl_if< is_placeholder< F<T1> >,
29 type_wrap< bind1< quote1<F>,
30 typename lambda<T1>::type > >,
31 type_wrap< F<T1> > > {};
33 template <
template<
class T1,
class T2>
class F,
37 mpl_if< is_placeholder< F<T1,T2> >,
38 type_wrap< bind2< quote2<F>,
39 typename lambda<T1>::type,
40 typename lambda<T2>::type > >,
41 type_wrap< F<T1,T2> > > {};
43 template <
template<
class T1,
class T2,
class T3>
class F,
48 mpl_if< is_placeholder< F<T1,T2,T3> >,
49 type_wrap< bind3< quote3<F>,
50 typename lambda<T1>::type,
51 typename lambda<T2>::type,
52 typename lambda<T3>::type > >,
53 type_wrap< F<T1,T2,T3> > > {};
55 template <
template<
class T1,
class T2,
class T3,
class T4>
class F,
61 mpl_if< is_placeholder< F<T1,T2,T3,T4> >,
62 type_wrap< bind4< quote4<F>,
63 typename lambda<T1>::type,
64 typename lambda<T2>::type,
65 typename lambda<T3>::type,
66 typename lambda<T4>::type > >,
67 type_wrap< F<T1,T2,T3,T4> > > {};
69 template <
template<
class T1,
class T2,
class T3,
class T4,
class T5>
class F,
76 mpl_if< is_placeholder< F<T1,T2,T3,T4,T5> >,
77 type_wrap< bind5< quote5<F>,
78 typename lambda<T1>::type,
79 typename lambda<T2>::type,
80 typename lambda<T3>::type,
81 typename lambda<T4>::type,
82 typename lambda<T5>::type > >,
83 type_wrap< F<T1,T2,T3,T4,T5> > > {};
89 #endif // SACADO_MPL_LAMBDA_HPP
Sacado::Fad::DFad< double > F