C++编译错误no type named ‘iterator_category’ in ‘class Point’,distance重名
#include#include#includeusingnamespacestd;classPoint{private:floatx;floaty;public:floatgetX();floatgetY();Point(floata=0.0f,floatb=0.0f):x(a),y(b){};friendfloatdistance(Point&left,Point&right);};float