--- a/docs/Writerside/topics/iterator.h.md Sat Jan 25 13:40:50 2025 +0100 +++ b/docs/Writerside/topics/iterator.h.md Sat Jan 25 13:44:24 2025 +0100 @@ -1,5 +1,9 @@ # Iterators +<warning> +Outdated - Rewrite! +</warning> + In UCX 3 a new feature has been introduced to write own iterators, that work with the `cx_foreach` macro. In previous UCX releases there were different hard-coded foreach macros for lists and maps that were not customizable. Now, creating an iterator is as simple as creating a `CxIterator` struct and setting the fields in a meaningful way.