This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] constexpr tuple


On 09/08/2011 09:25 PM, Marc Glisse wrote:
Or as an alternative, we could have f<3>(tuple0,tuple1,tuple2) call (with proper forwarding) f<2>(tuple1,tuple2,x01,x02) which calls f<1>(tuple2,x01,x02,x10,x11,x12,x13) which calls f<0>(x01,x02,x10,x11,x12,x13,x20) which is what the tuple constructor needs. This avoids the forward_as_tuple.
Thanks everybody for the feedback! I gather, from private email too, that Daniel can spend some time on tuple_cat over the next days. Great.

Me, was having a look to this code and I think it's time to get rid of some ints (vs std::size_ts) leftover from the TR1 functional times. Thus, I have the below which so far appears to work well and mean to commit soon, as-is or tweaked. If somebody can see something wrong with this kind of preliminary fix, please let me know.

Paolo.

//////////////////////

Attachment: patch_size_t
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]