[Bug c++/24050] New: Fails a template instantiation.
bakgab at vnet dot hu
gcc-bugzilla@gcc.gnu.org
Sat Sep 24 22:06:00 GMT 2005
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
More information about the Gcc-bugs
mailing list