This seems trivial yet endless searching doesn’t yield an answer.
I need to compare and assign.
How can I overload the COORD if I can’t add a member function or friend a function?
is it just bad style to use this windows based structure?
Also, I know I can write my own class(or just do the operation once for each member), but this problem just really has me wondering.
COORDonly has public members, so there’s no need for friend functions — free operators should suffice:COORDhas an implicit copy c’tor andoperator=already, no need to define those.