
20 Oct
2008
20 Oct
'08
8:52 p.m.
- 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