docs/Writerside/topics/list.h.md

changeset 1344
8afaeb395b3c
parent 1343
b2ba79f4cb62
equal deleted inserted replaced
1343:b2ba79f4cb62 1344:8afaeb395b3c
288 and iterate until the end, or the beginning of the list, respectively. 288 and iterate until the end, or the beginning of the list, respectively.
289 289
290 The functions with `Mut` in are equivalently, except that they create a [mutating iterator](iterator.h.md#mutating-iterators). 290 The functions with `Mut` in are equivalently, except that they create a [mutating iterator](iterator.h.md#mutating-iterators).
291 Removing elements via a mutating iterator will cause an invocation of the [destructor functions](collection.h.md#destructor-functions) for the removed element. 291 Removing elements via a mutating iterator will cause an invocation of the [destructor functions](collection.h.md#destructor-functions) for the removed element.
292 292
293 If is safe to specify an out-of-bounds index, or a `NULL` pointer, in which cases an iterator is returned for which `cxIteratorValid()` returns `false`, immediately. 293 If is safe to specify an out-of-bounds index, or a `NULL` pointer, in which cases the returned iterator will behave like an iterator over an empty list.
294 294
295 ## Reorder 295 ## Reorder
296 296
297 ```C 297 ```C
298 #include <cx/list.h> 298 #include <cx/list.h>

mercurial