On Sat, 21 Jan 2006, JOAQUIN LOPEZ MU?Z wrote:
----- Mensaje original ----- De: Frank Birbacher
Fecha: Sábado, Enero 21, 2006 2:29 am Asunto: [Boost-users] [tuple] no easy access to get function Today I wanted to std::transform a range of tuples into a sequence of one element. I thought I could just take the address of some tuple::get<N> function. Maybe also specify the Tuple type as template parameter [...] I'd rather want to take the address of boost::tuple::get
, but the template parameters won't match. Maybe you forgot the final s in "tuples" when writing
boost::tuples::get
There is a thin wrapper declared in the boost namespace as well. The
probleme is elsewhere. The argument to the get function is not a
boost::tuple<>, but some base class template. Thus the template arguments
of the function are not and an integer and a tuple, but an integer and
something else (actually, a cons