13 Jul
2009
13 Jul
'09
11:11 a.m.
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