Re: template issue

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

 



Hi Darko,

In this situation, GCC is compliant with ISO 14882 specification. BCB 5&6 and MSVC 7.1 are not.

The typename keyword is required because the compiler is NOT supposed to presume that T::value_type is a type in that context, unless annotated with typename.

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