[egcs-19980608] Internal error in mistaken template usage.
Hyman Rosen
hymie@prolifics.com
Tue Jun 9 13:46:00 GMT 1998
The current snapshot continues to get an internal error on this code:
template < typename T > struct s { };
int main(int, char **) { s< char > a = s(); }
I came across this bug when I accidentally tried to create an
istream_iterator using istream_iterator(), forgetting that it's
templated by the retrieved object type - I should have used
istream_iterator< char >().
More information about the Gcc-bugs
mailing list