public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24050] New: Fails a template instantiation.
@ 2005-09-24 22:06 bakgab at vnet dot hu
  2005-09-24 22:15 ` [Bug c++/24050] [3.4 Regression] " pinskia at gcc dot gnu dot org
  2005-09-24 22:24 ` bakgab at vnet dot hu
  0 siblings, 2 replies; 5+ messages in thread
From: bakgab at vnet dot hu @ 2005-09-24 22:06 UTC (permalink / raw)
  To: gcc-bugs

When trying to create a template using a specialized form inside in a static
class it fails to link.
Ex.:
template<class T> struct StaticClass
{
        static void ret() {}
};

template<class T>
void func(void function()) {}

template<class T> struct Test
{
        void doIt()
        {
                func<T>(StaticClass<Test<double> >::ret);
        }
};

-- 
           Summary: Fails a template instantiation.
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bakgab at vnet dot hu
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24050


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

end of thread, other threads:[~2006-03-01  4:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24050-11414@http.gcc.gnu.org/bugzilla/>
2005-10-07  4:13 ` [Bug c++/24050] [3.4 Regression] Fails a template instantiation gdr at gcc dot gnu dot org
2005-11-24 16:58 ` reichelt at gcc dot gnu dot org
2006-03-01  4:49 ` gdr at gcc dot gnu dot org
2005-09-24 22:06 [Bug c++/24050] New: " bakgab at vnet dot hu
2005-09-24 22:15 ` [Bug c++/24050] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-09-24 22:24 ` bakgab at vnet dot hu

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).