[v3] constexpr tuple
Paolo Carlini
paolo.carlini@oracle.com
Fri Sep 9 14:36:00 GMT 2011
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.
//////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_size_t
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110909/c35e4b0c/attachment.ksh>
More information about the Libstdc++
mailing list