26 Jul
2007
26 Jul
'07
5:46 a.m.
On Thu, Jul 26, 2007 at 11:16:08AM +1200, Richard Dingwall wrote:
Pardon me if it's just a two-dimensional example for simplicity, but why not use std::pair?
Orthogonality. Personally, I'd find it very cumbersome to make an
exception for pairs and write t.first, t.second when I write t.get<N>()
for larger tuples. Plus, if the tuple should grow at some point,
you'd have to fix all occurences of .first and .second.
However, I have another question regarding tuples: the debugger expands
tuple