
23 Jan
2006
23 Jan
'06
9:55 p.m.
Hi! François Duranleau wrote:
boost::tuples::get< N , typename Tuple::head_type , typename Tuple::tail_type >
As a matter of fact, you can drop the 'tuples::' as well. Even then, a problem remains (and the approach I suggested doesn't solve that either): the overload of the function on the constness of the parameter. So you have to explicitly cast the function or make a wrapper.
Writing a cast or specifying all template parameters is way too much noise in a std::transform call. So I will stick with my wrapper until the tuples library catches up on this issue. Thanks for info to all! Frank