Subject: Re: [boost] Formal Review: Boost.Polygon starts today August 24, 2009
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-08-29 20:15:43
Simonson, Lucanus J wrote:
> I almost forgot, there is actually a better answer to your question. The operators in the operators namespace are an optional feature of the library. You can instead use the polygon_set_data objects to perform explicit conversions and use the member operators of the polygon_set_data classes.
> polygon_set_data<int>(some_polygon) | polygon_set_data<int>(some_rectangle);
> Since operator| is in this case a member function it is found first though ADL.
Except this is going to copy some_polygon and some_rectangle to
initialize the polygon_set_data, right?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk