I have code that I have copied from a tutorial i am learning from. In the tutorial the code is working fine, but for me it is not, and i can not figure out why. The error is with the overloaded << operator, and the compiler is complaining that there is no operator found that takes a right hand operand of type const Point2D, but that is what I am trying to print? I do not understand. Errors on line 32, and 36
You only defined the function to print a std::set<Point2D>, but you also need to define how to print a Point2D. The language doesn't know how to do this automatically.