[Boost.MPL] mpl::find<Types, T> not allowed in with T as template<typename T> argument?
Hi,
I have a short question.
-----------
typedef boost::mpl::vector
Manuel Jung wrote:
typedef boost::mpl::find
::type iter_T; //Doesn't compile
The 'typename' keyword is missing in this case. Try
typedef typename boost::mpl::find
typedef boost::mpl::find
::type iter_T_static; //Compiles
Non-templatized context here, so works without. Regards, Tobias
Ahhh Thanks! Now it does compile! :-) Greetings Manuel Jung Tobias Schwinger wrote:
Manuel Jung wrote:
typedef boost::mpl::find
::type iter_T; //Doesn't compile The 'typename' keyword is missing in this case. Try
typedef typename boost::mpl::find
::type iter_T; typedef boost::mpl::find
::type iter_T_static; //Compiles Non-templatized context here, so works without.
Regards, Tobias
participants (2)
-
Manuel Jung
-
Tobias Schwinger