
6 Aug
2006
6 Aug
'06
6:36 p.m.
On Aug 6, 2006, at 7:10 AM, Ion GaztaƱaga wrote:
And what if Values parameter pack is instantiated as a sequence of the same type? Should we make tuple<int, int> and array<int, 2> the same type?
They should be the same type, but there should be a common interface that allows one to act on both types in the same way. IIRC, array<> works with tuple_size, tuple_element, and get, so we already have that interface. Doug