This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12068] Template class definition generates error
- From: "menita dot singh at schwab dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2003 15:40:36 -0000
- Subject: [Bug c++/12068] Template class definition generates error
- References: <20030826151157.12068.menita.singh@schwab.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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]
}