class RadianLongitudeLatitude : public std::pair<double,double>
{
public:
RadianLongitudeLatitude (const LongitudeLatitude & longla)
: std::pair<double,double>::first (longla.first*constant::pi/180), std::pair<double,double>::second (longla.second*constant::pi/180)
{};
};
I got error:
Error 1 error C2039: 'first' : is not a member of 'std::pair<_Ty1,_Ty2>' z:\business\fromwork\currentprojects\program\library\cpp\locationbasedads\locations.h 22 locationBasedAds