30 #ifndef SACADO_MPL_LAMBDA_HPP
31 #define SACADO_MPL_LAMBDA_HPP
45 template <
template<
class T1>
class F,
48 mpl_if< is_placeholder< F<T1> >,
49 type_wrap< bind1< quote1<F>,
50 typename lambda<T1>::type > >,
51 type_wrap< F<T1> > > {};
53 template <
template<
class T1,
class T2>
class F,
57 mpl_if< is_placeholder< F<T1,T2> >,
58 type_wrap< bind2< quote2<F>,
59 typename lambda<T1>::type,
60 typename lambda<T2>::type > >,
61 type_wrap< F<T1,T2> > > {};
63 template <
template<
class T1,
class T2,
class T3>
class F,
68 mpl_if< is_placeholder< F<T1,T2,T3> >,
69 type_wrap< bind3< quote3<F>,
70 typename lambda<T1>::type,
71 typename lambda<T2>::type,
72 typename lambda<T3>::type > >,
73 type_wrap< F<T1,T2,T3> > > {};
75 template <
template<
class T1,
class T2,
class T3,
class T4>
class F,
81 mpl_if< is_placeholder< F<T1,T2,T3,T4> >,
82 type_wrap< bind4< quote4<F>,
83 typename lambda<T1>::type,
84 typename lambda<T2>::type,
85 typename lambda<T3>::type,
86 typename lambda<T4>::type > >,
87 type_wrap< F<T1,T2,T3,T4> > > {};
89 template <
template<
class T1,
class T2,
class T3,
class T4,
class T5>
class F,
96 mpl_if< is_placeholder< F<T1,T2,T3,T4,T5> >,
97 type_wrap< bind5< quote5<F>,
98 typename lambda<T1>::type,
99 typename lambda<T2>::type,
100 typename lambda<T3>::type,
101 typename lambda<T4>::type,
102 typename lambda<T5>::type > >,
103 type_wrap< F<T1,T2,T3,T4,T5> > > {};
109 #endif // SACADO_MPL_LAMBDA_HPP
Sacado::Fad::DFad< double > F