Boost logo

Boost Users :

From: Manuel Jung (gzahl_at_[hidden])
Date: 2007-06-25 16:28:18


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


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