
4 Mar
2010
4 Mar
'10
12:18 p.m.
Maybe you forget to add the mpl::find include. #include<boost/mpl/vector.hpp> //here #include <boost/mpl/find.hpp> using namespace boost; typedef mpl::vector<char,short,int,long,float,double> types; typedef mpl::find<types,long>::type long_pos; int main() { }