Ticket #7525: hashmap.patch
File hashmap.patch, 911 bytes (added by , 18 years ago) |
---|
-
hashmap.h
83 83 */ 84 84 template <class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key> > 85 85 class HashMap { 86 friend class const_iterator; 86 87 private: 87 #if defined (_WIN32_WCE) || defined (_MSC_VER) || defined (__SYMBIAN32__) || defined (PALMOS_MODE) || defined (__MINT__)88 //FIXME evc4, msvc6,msvc7 & GCC 2.9x doesn't like it as private member89 public:90 #endif91 92 88 struct Node { 93 89 Key _key; 94 90 Val _value; … … 114 110 typedef const HashMap<Key, Val, HashFunc, EqualFunc> * hashmap_t; 115 111 friend class HashMap<Key, Val, HashFunc, EqualFunc>; 116 112 protected: 117 hashmap_t _hashmap;118 113 uint _idx; 114 hashmap_t _hashmap; 119 115 const_iterator(uint idx, hashmap_t hashmap) : _idx(idx), _hashmap(hashmap) {} 120 116 121 117 const Node *deref() const {