
4 Oct
2007
4 Oct
'07
11:55 a.m.
Joel de Guzman wrote:
Now, in your generic code, you simply refer to X and Y as:
get<1>(p); // x get<2>(p); // y
Ooops, I meant: get<0>(p); // x get<1>(p); // y of course! Cheers! -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net