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]

bug in g++ current (egcs-2.92.04 19980914) frontend


The member template specialization in the following code
 works fine with the 1.1 release but generates an error with
egcs-2.92.04 19980914 :




template <class T>
class A {
    template <class X> void f(X);
};

template <class T>
template <class X>
void A<T>::f(X) {}

template <class T>
template<>
void A<T>::f(int) {}


atlantis-718% $ROBOTVIS/egcs2.6/bin/g++ -c /tmp/z3.C
/tmp/z3.C:13: enclosing class templates are not explicit specialized


	Thank's a lot,

       Jose.


-- 
 Jose.Gomes@sophia.inria.fr             Tel. +33 4 92 38 76 48


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