Boost logo

Boost Users :

Subject: Re: [Boost-users] [Tuple] What's the point?
From: Giles Anderson (agander_at_[hidden])
Date: 2009-07-13 07:11:05


On Friday 10 July 2009 11:23:16 Neil Groves wrote:
> I think your point is valid, and often a structure will be preferable.
> However there are examples that are killer cases for tuple. My favourite is
> when combining functors. It is possible to use a tuple of functors that
> uses the generic for_each mechanism to provide superb maintainable
> composition, allowing lightweight orthogonally separated pieces of
> functionality that are when composed suffer zero performance overhead. I
> have to stop... because I'm getting excited! I can send some examples to
> the list or to you (Robert) if desired.

Yes please, I'm interested Neil.

Giles Anderson


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net