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:
parent
4f8c1ea3a6
commit
680fd1c8ff
@ -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___ */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user