12 Jul
2004
12 Jul
'04
9:56 p.m.
On Jul 12, 2004, at 4:17 PM, John.Wismar@autozone.com wrote:
The objective would be to allow me to write a function template that looked something like this:
template <int N> tuple_clone
fn(tuple_clone t) { tuple_clone ret; ret.get_head() = getValue(); ret.get_tail() = t; return ret; } Each time I try to write tuple_clone, though, I end up stumped. Is it possible to write something like this, while leveraging the tuples library? Or is there a different approach I ought to look into?
Why is it that you can't use boost::array