|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net