|
Boost : |
From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2000-02-02 21:55:31
Dave Abrahams <abrahams_at_[hidden]> wrote:
> Do we also need the non-const version?
>
We can live without it, but in that case some operations seem to be
counter-intuitive (for me) and also a less effective, e.g.:
| typedef boost::geometry2d::point<long> point;
| point p1;
| POINT p2( POINT() << p1 );
| p2 << p1; // do nothing
| p2 = p2 << p1; // ok, convert p1 to a temporary object and assign the
temporary to p2
- Alexy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk