Boost logo

Boost Users :

From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2006-01-23 16:55:15


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net