#include <iostream>
#include <boost/mpl/vector.hpp>
#include <boost/mpl/find.hpp>
using namespace std ;
using namespace boost ;
template <typename numericTypes>
struct evalThis
{
void operator()()
{
typedef mpl::find<numer icTypes, char>::type iter ; //
ERROR : error: too few template-parameter-lists
}
} ;
int main()
{
typedef mpl::vector<int , float, char, double, long>
myNumericTypes ;
evalThis<myNume ricTypesmyObj ;
myObj.operator( )() ;
return 0 ;
}
Comment