|
Boost : |
From: Max Motovilov (max_at_[hidden])
Date: 2008-03-25 22:51:28
> 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...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk