Код: Выделить всё
class Point {
private:
int x;
int y;
public:
Point() = default;
Point(int x_arg, int y_arg):x(x_arg), y(y_arg) {};
bool operator
Подробнее здесь: [url]https://stackoverflow.com/questions/79371936/c-set-with-user-defined-type-and-custom-coompare[/url]