This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

template-bug in egcs-1.0.1



>>>>> "Tobias" == Tobias Gloth <gloth@unknown.westfalen.de> writes:

    Tobias> The following just happened to me. I am not sure if the
    Tobias> code is correct (I mean the <T> after foo), but egcs
    Tobias> should not behave like this.

The <T> is not correct.  Fortunately, egcs no longer behaves like
this. 

    Tobias>    - Tobias

    Tobias> [gloth@unknown]$ cat foo.cpp template<class T> static
    Tobias> foo<T> () {}

-- 
Mark Mitchell		mmitchell@usa.net
Stanford University	http://www.stanford.edu



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]