From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-06-25 20:07:23


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