template bug (egcs-1.1.1)

Henri M T Hakonen hhakonen@cc.hut.fi
Fri Feb 12 11:21:00 GMT 1999


Following program causes Internal compiler error. Details in mapvec.zip.

Henri Hakonen
henri.hakonen@hut.fi

#include <map>
#include <vector>
#include <string>
using std::map;
using std::vector;
using std::string;

typedef map<string,int> Map;
typedef vector<Map::value_type> MapVec;

main()
{
   MapVec mv;
   mv.resize(1);
}



More information about the Gcc-bugs mailing list