
26 Jun
2007
26 Jun
'07
1:09 a.m.
Ahhh Thanks! Now it does compile! :-) Greetings Manuel Jung Tobias Schwinger wrote:
Manuel Jung wrote:
typedef boost::mpl::find<Types, T>::type iter_T; //Doesn't compile
The 'typename' keyword is missing in this case. Try
typedef typename boost::mpl::find<Types, T>::type iter_T;
typedef boost::mpl::find<Types, int>::type iter_T_static; //Compiles
Non-templatized context here, so works without.
Regards, Tobias