------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-01
16:24 -------
Here's a reduced example:
====================================================================
struct A
{
template<typename> void foo(int);
template<typename T> void bar(T t) { this->foo<typename T>(t); }
};
void baz()
{
A().bar(0);
}
====================================================================
If I remove "this->" the code compiles.
Hence, we have an accepts-invalid, too.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |accepts-invalid, monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18757