Hi Suresh, I don't think you've found a GCC bug. (But maybe I'm mistaken.) Change your code to this: return obj.template get<sz>(index); Note: I think the static cast is unnecessary, so I took it out. HTH, --Eljay
Hi Suresh, I don't think you've found a GCC bug. (But maybe I'm mistaken.) Change your code to this: return obj.template get<sz>(index); Note: I think the static cast is unnecessary, so I took it out. HTH, --Eljay