problem with iterator base class

nbecker@fred.net nbecker@fred.net
Tue May 4 09:12:00 GMT 1999


i686-pc-linux-gnu egcs-2.91.66

Am I doing something really stupid or what?

#include <iterator>
template<class T>
class RingBufferIter : public iterator<random_access_iterator_tag, double>
 {
};
g++ -c bug.cc
bug.cc:3: parse error before `<'


More information about the Gcc-bugs mailing list