sources/list.h

branch
protocol5
changeset 141
d9073c13dc98
parent 137
485cb6d6b98c
child 148
19e98695e584
equal deleted inserted replaced
136:8fb1c657e0b0 141:d9073c13dc98
261 if (a < 0 or b >= size() or b < a) 261 if (a < 0 or b >= size() or b < a)
262 return Self(); 262 return Self();
263 263
264 Self result; 264 Self result;
265 265
266 for (int i = a; i <= b; ++i) 266 for (int i = a; i < b; ++i)
267 result << operator[] (i); 267 result << operator[] (i);
268 268
269 return result; 269 return result;
270 } 270 }
271 271

mercurial