docs/Writerside/topics/list.h.md

changeset 1478
bba2e5efdca0
parent 1477
9170a7dff573
equal deleted inserted replaced
1477:9170a7dff573 1478:bba2e5efdca0
410 The functions return zero if and only if all clone operations were successful. 410 The functions return zero if and only if all clone operations were successful.
411 411
412 > It is perfectly possible to clone items into a list of a different type. 412 > It is perfectly possible to clone items into a list of a different type.
413 > For example, you can clone elements from a list that is just storing pointers (`CX_STORE_POINTERS`) to a list that 413 > For example, you can clone elements from a list that is just storing pointers (`CX_STORE_POINTERS`) to a list that
414 > allocates the memory for the objects (and vice versa). 414 > allocates the memory for the objects (and vice versa).
415
416 > The lists passed to the above functions must all be different.
417 > Passing the same pointer for different list arguments may result in erroneous behavior.
418 >{style="warning"}
415 419
416 ## Dispose 420 ## Dispose
417 421
418 ```C 422 ```C
419 #include <cx/list.h> 423 #include <cx/list.h>

mercurial