GCC does now support the iterator.

git-svn-id: svn://10.0.0.236/trunk@112397 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com 2002-01-17 21:15:16 +00:00
parent 4f8c1ea3a6
commit 680fd1c8ff

View File

@ -64,18 +64,4 @@
using std::string;
using std::auto_ptr;
#ifdef __GNUC__ // why doesn't g++ support iterator?
namespace std {
template<class Category, class T, class Distance = ptrdiff_t,
class Pointer = T*, class Reference = T&>
struct iterator {
typedef T value_type;
typedef Distance difference_type;
typedef Pointer pointer;
typedef Reference reference;
typedef Category iterator_category;
};
};
#endif
#endif /* stlcfg_h___ */