equal
deleted
inserted
replaced
215 bool missed = !contains(elem); |
215 bool missed = !contains(elem); |
216 if (missed) append(elem); |
216 if (missed) append(elem); |
217 return missed; |
217 return missed; |
218 } |
218 } |
219 |
219 |
220 E at(int i) const { |
220 E& at(int i) { |
|
221 assert(0 <= i && i < _len, "illegal index"); |
|
222 return _data[i]; |
|
223 } |
|
224 |
|
225 E const& at(int i) const { |
221 assert(0 <= i && i < _len, "illegal index"); |
226 assert(0 <= i && i < _len, "illegal index"); |
222 return _data[i]; |
227 return _data[i]; |
223 } |
228 } |
224 |
229 |
225 E* adr_at(int i) const { |
230 E* adr_at(int i) const { |