Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef POINT_GUARD
- #define POINT_GUARD
- namespace Graph_lib {
- struct Point {
- int x,y;
- };
- inline bool operator==(Point a, Point b) { return a.x==b.x && a.y==b.y; }
- inline bool operator!=(Point a, Point b) { return !(a==b); }
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement