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

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

           Summary: Template class definition generates error
           Product: gcc
           Version: 2.96 (redhat)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: menita dot singh at schwab dot com
                CC: gcc-bugs at gcc dot gnu dot org

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 Impl;
.....[other stuff]
}



More information about the Gcc-bugs mailing list