|
Boost : |
From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-01-05 23:58:03
> Well, we can change implementation of rectangle (although I would not like
> it - current version is pretty good except the above issue),
Of course, it's not neccessary to anyway.
> but this will
> not solve the problem with *point* class interface - when users of point
> class will implement something like rectangle class (e.g., triangle), they
> will run into the same problem of swapping coordinates of different point
> objects.
If you think hard about how triangle would be defined, I think you'll see
that the issue doesn't really apply to that case.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk