
25 Jun
2007
25 Jun
'07
2:28 p.m.
Hi, I have a short question. ----------- typedef boost::mpl::vector<double, int> Types; template<typename T> void send(){ typedef boost::mpl::find<Types, T>::type iter_T; //Doesn't compile typedef boost::mpl::find<Types, int>::type iter_T_static; //Compiles } ------------ I want the first cersion with my own Template Type. But the compiler gives me somthing like "Not enough Template arguments". (My Compiler outputs me german error messages...) Am i not allowed using my own template arguments with boost::mpl::find? Or what do i have to change? Thanks! Manuel Jung