11 Sep
2003
11 Sep
'03
3:28 p.m.
Hello, Ben!
You wrote on Thu, 11 Sep 2003 15:08:51 +0100:
BH> Older compilers performed only minimal parsing of templates before
BH> they were instantiated, but the standard says they must do more
BH> parsing. This requires that you tell them which dependent names
BH> (names of things that depend on a template parameter) are being
BH> used as type or template names. You need to put the keyword
BH> "template" in front of "get<num>" so that the compiler can parse
BH> it correctly.
I correct line 12 & 13:
tie(i1, i2, i3, c1, c2, c3).template get<num>() = t;
cout<