Boost logo

Boost :

Subject: Re: [boost] Preview 3 of the Geometry Library
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2008-10-20 16:52:43


> - I have always used a very simple point type: struct point { T x; T y; };.
> It seems that I could continue to use "user" code in this style with your
> library; however, as a potential library author, I need to replace "p.x"
> with something like "access<P>::get<0>(p)". I'm not wildly enthusiastic
> about this verbosity. I accept that I'm outvoted on this, but I'm going to
> continue to remind you (all) that I'm unhappy about it.

You don't have to use this syntax in your own code, it's only used in
the library. The only case in which you'll have to use this syntax
yourself is when you want to write a library based on the Geometry
Library and with the same level of genericity.

Bruno


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk