
26 Mar
2008
26 Mar
'08
2:51 a.m.
This has been well discussed many times: make Point a concept and allow many models of the Point concept. It is a mistake to have a single do-it-all point class.
The only potential problem with this is operator overloading, though for the specific case of Win32 (or X Window for that matter) point structure it's not a big deal since the original class does not have its own arithmetics defined. If it did... well, one can always provide a simple wrapper in the right namespace to resolve the ADL conflict. So I guess I don't disagree. ...Max...