Changeset 6bc4734
- Timestamp:
- Jun 21, 2016, 2:45:33 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 10dc7491, 48a8127
- Parents:
- 927e9ce (diff), b2b039d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/GenPoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/ScopedMap.h
r927e9ce r6bc4734 90 90 return next_valid(); 91 91 } 92 iterator &operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }92 iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; } 93 93 94 94 iterator& operator-- () { … … 101 101 return prev_valid(); 102 102 } 103 iterator &operator-- (int) { iterator tmp = *this; --(*this); return tmp; }103 iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; } 104 104 105 105 bool operator== (const iterator &that) { … … 166 166 return next_valid(); 167 167 } 168 const_iterator &operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }168 const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; } 169 169 170 170 const_iterator& operator-- () { … … 177 177 return prev_valid(); 178 178 } 179 const_iterator &operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }179 const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; } 180 180 181 181 bool operator== (const const_iterator &that) { -
src/GenPoly/ScopedSet.h
r927e9ce r6bc4734 87 87 return next_valid(); 88 88 } 89 iterator &operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }89 iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; } 90 90 91 91 iterator& operator-- () { … … 98 98 return prev_valid(); 99 99 } 100 iterator &operator-- (int) { iterator tmp = *this; --(*this); return tmp; }100 iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; } 101 101 102 102 bool operator== (const iterator &that) { … … 163 163 return next_valid(); 164 164 } 165 const_iterator &operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }165 const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; } 166 166 167 167 const_iterator& operator-- () { … … 174 174 return prev_valid(); 175 175 } 176 const_iterator &operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }176 const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; } 177 177 178 178 bool operator== (const const_iterator &that) {
Note: See TracChangeset
for help on using the changeset viewer.