c++/6839: ICE on illegal explicit member function instantiation syntax
Wolfgang Bangerth
bangerth@ticam.utexas.edu
Thu Oct 31 11:35:00 GMT 2002
A minimal example for this ICE in all gcc versions is of course
-------------------------------
template <typename T> class X {
void f(){};
};
template void X<int>::f;
-------------------------------
Note the missing parentheses in the explicit instantiation.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
More information about the Gcc-bugs
mailing list