Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-12-12 10:44:13

Larry Evans wrote:
> Could inherit_linearly be used to create
> something like loki's tuple? The name,
> inherit_linearly, and a very brief look
> at the code suggests it does something
> like loki's GenScatterHeirarchy, which
> was used to create the loki tuples
> as shown in:

Yes it can be used that way.

> If so, then I was wondering if it would
> be worth it to reuse inherit_linearly to
> implement boost's tuple?

I don't think so. What would we gain by it?

The successor to Boost.Tuple is described in Since fusion tuples
are "flat" structures, there's no win in building them by repeated
folding of an input sequence.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at