I am trying to pass 6 values instead of a value.
//function that contains the value
siteNEVObjectdic::siteNEVObjectdic(double iLat1, double iLong1, double iLat2, double iLong2, double iLat3, double iLong3)
{
Lat1=iLat1;
Long1=iLong1;
Lat2=iLat2;
Long2=iLong2;
Lat3=iLat3;
Long3=iLong3;
}
multimap<double,double> dic;//initialization
dic.insert(pair<double,double>(2,gcnew siteNEVObjectdic(Lat1,Long1,Lat2,Long2,Lat3,Long3));
for some reason it is,
error C2665: 'std::pair<_Ty1,_Ty2>::pair' : none of the 3 overloads could convert all the argument types
giving me this error. any help will be appreciated.