[Bug c++/11648] G++ parse error for simple template code
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Wed Jul 23 20:51:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11648
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-23 20:51 -------
The workaround is to do (ignore my previous example):
struct A
{
template<class T>T *foo();
};
template<class T>void bar(A *a)
{
a->template foo<T>();
}
More information about the Gcc-bugs
mailing list