
25 Jun
2007
25 Jun
'07
6:07 p.m.
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