Boost logo

Boost Users :

From: Adrián Etchevarne (adrian.etchevarne_at_[hidden])
Date: 2006-05-29 10:04:24

  How can I get a tuple type from a tuples::cons<> list ?
  given the type:
     cons<int, cons<float, cons<int, null_type> > >

     tuple<int, float, int>

Real problem:
   I need to insert a type T at the beginning of a tuple, how I can do this?

   given the type T and tuple<int, float>, obtain a tuple<T, int, float>

Thanks in advance,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at