docs/Writerside/topics/map.h.md

changeset 1344
8afaeb395b3c
parent 1342
fe3ac6b1cf57
equal deleted inserted replaced
1343:b2ba79f4cb62 1344:8afaeb395b3c
280 The behavior of iterators over values depends on the concrete implementation. 280 The behavior of iterators over values depends on the concrete implementation.
281 Implementations are encouraged to support `CX_STORE_POINTERS`. 281 Implementations are encouraged to support `CX_STORE_POINTERS`.
282 If used, the `void*` elements the iterator yields, shall be directly the stored pointers. 282 If used, the `void*` elements the iterator yields, shall be directly the stored pointers.
283 Otherwise, the iterator shall yield pointers to the map's memory where the value is stored. 283 Otherwise, the iterator shall yield pointers to the map's memory where the value is stored.
284 284
285 It is always safe to call the above functions on a `NULL`-pointer.
286 In that case, the returned iterator will behave like an iterator over an empty map.
287
285 ## Dispose 288 ## Dispose
286 289
287 ```C 290 ```C
288 #include <cx/map.h> 291 #include <cx/map.h>
289 292

mercurial