public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/959: Problems with template specialisation and namespaces
@ 2001-10-30  6:28 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2001-10-30  6:28 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, kmshanah, nobody

Synopsis: Problems with template specialisation and namespaces

State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Tue Oct 30 06:28:33 2001
State-Changed-Why:
    Fixed in the main trunk.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/959: Problems with template specialisation and namespaces
@ 2001-08-12  8:30 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2001-08-12  8:30 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, kmshanah, nobody

Synopsis: Problems with template specialisation and namespaces

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Aug 12 08:30:24 2001
State-Changed-Why:
    The submitted testcase is not legal.  However the correct
    code below fails to compile and should be fixed:
    
    namespace Foo
    {
        template<class T> void bar(const T);
        template<> void bar(const int);
    }
    
    template<class T>
    void Foo::bar(const T arg) { }
    
    template<>
    void Foo::bar(const int arg) { }
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=959&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-30  6:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-30  6:28 c++/959: Problems with template specialisation and namespaces lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2001-08-12  8:30 lerdsuwa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).