
26 Jul
2010
26 Jul
'10
2:42 p.m.
p1.get<0>() = &i;
It might be nice to make the accessor a free function written as: get<0>(p1) = &i; Inside a template I think you would have to write it as: p1.template get<0>() = &1; You shouldn't have to remove the member accessor, just provide both. This should also make the syntax interoperable with tuples. Andrew Sutton andrew.n.sutton@gmail.com