STL Question.

Chris Dern cdern@pre.com
Wed Feb 25 09:33:00 GMT 1998


Quick question.
I'm trying to nest a STL list in a map, like so.

typedef list<Base*> BaseList;

map<String,BaseList> itsMap;


However this won't compile correctly if I use the repo, and if I just
try and compile it, I get a core dump. Anyone else have problems with
this?

This is on a RH 4.0 Egcs 1.01, i486

Chris






More information about the Gcc mailing list