test.cc: In function ‘int test()’: test.cc:12:15: error: could not convert ‘std::map<int, std::vector<double> >()’ from ‘map<int,vector<double>>’ to ‘map<int,vector<float>>’ map< int, vector< [double != float]>> takes_mivf (map<int, vector<double> > ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~