9 May
2009
9 May
'09
1:27 a.m.
Germán Diago escribió:
If this is possible, you could do (and it would be way more natural than get<3>(t)):
tuple
t; t[3] = "hello";
You could achieve something similar in C++03 using placeholders. And you'd use it like this t[_3] = "hello"; Agustín K-ballo Bergé.-