
5 Oct
2007
5 Oct
'07
11:30 p.m.
John Femiani wrote:
Array access has it own problems; I think we would need to accommodate both.
Yes!
I am not too familiar with fusion; but I have used GIL which has concepts for heterogeneous as well as homogeneous types. The most generic type of access is obtained by something like the get<> template function below (but GIL calls it at_c<>).
Fusion calls it at_c<N> too, FWIW. As do MPL. get<N> is just a synonym for backward compatibility with TR1 tuple. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net