Re: gcc bug ? accessing template function of a class object from another template class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux