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]
Other format: [Raw text]

Re: c++/8640: template specialization bug #2 (gcc3.2)


Synopsis: template specialization bug #2 (gcc3.2)

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Nov 19 07:49:01 2002
State-Changed-Why:
    I had already confirmed this. The code in question is this:
    --------------------------
    template <typename T> class X {};
    
    template<int shift, typename T> void foo (T x) { error; }
    template<int shift, typename T> void foo (X<T> x) {}
    
    int main () {
      foo<1> (X<int>());
    }
    ---------------------------

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8640


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