[Bug c++/12068] Template class definition generates error

menita dot singh at schwab dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 26 15:40: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=12068



------- Additional Comments From menita dot singh at schwab dot com  2003-08-26 15:40 -------
correction

I get a compile error "Internal Error: Segmentation Fault", at this line, where 
i define:

template<class ValueType> class ArrayListImpl<ValueType>::Itr : public 
Iterator<ValueType> {

}
Previoulsy i define:
template<class ValueType> class ArrayListImpl : public List<ValueType>::Impl{
private class Itr;
.....[other stuff]
}



More information about the Gcc-bugs mailing list