2 Jul
2010
2 Jul
'10
1:11 p.m.
On Fri, Jul 2, 2010 at 1:26 PM, Timothy Madden
Anyway I find that when using tuples heavily it is actually better to define classes/structs for your data, as using t.get<idxHostname>() all the time is no better than t.hostname, and also not clearer.
This has been my experience too - that the get<N>() notation tends to obscure, and effectively introduce another unnecessary level of indirection. As I understand it, what tuples offer is that they're a building block for type sequences, which enable them to be handled generically, ie become the foundation for Boost.Fusion. - Rob.