Hello Chrisoph,
As you pointed out, it is in the standard. But not all compilers used in
the world are standard compliant yet. Situation is getting better now a days,
some time future, I may need to change this.
Thank you
Masaharu Goto
>On 24 Apr 2000, Masaharu Goto wrote:
>
>> The 'template<>' thing is compiler version dependent. Current
>> rootcint/makecint causes warning for new compiler, but if we add
>> 'template<>', we will have error in the old compiler. I think we
>> should keep this behavior until all of supported compiler handles
>> 'template<>'.
>
>Hello,
>
>the term `compiler version dependent' seems a little bit misleading. It is
>enforced by the C++ standard. My IRIX CC compiler generates an error if it
>is missing. And the hack up do now is this (transforms tmpdict.C into
>dict.C):
>
> gawk '/(void |const char \*).*<.*>\:\:.*\(.*\)/ { print "template <>";
> }{print $0; }' tmpdict.C >dict.C
>
>Which compiler issues an error for the `template<>'?
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET