.
D 2025-10-27T11:48:41.167
L branch/c11-tcloo-foreach
N text/x-markdown
P d4668b65bb3cd1c2a23b78da50d9a864dd2bbae63d18e54869ecda9f7b3d3138
U dkf
W 414
This is based on the much wider changes in the [`c-std-update`](https://core.tcl-lang.org/tcl/timeline?r=c-std-update) branch.
This branch updates TclOO's `FOREACH`-related macros to use C11 variable placement, which is much neater in many common cases. But not all; the new `FOREACH_IDX` and `FOREACH_IDX_STRUCT` macros are for the cases where the actual indexes are required (either in the loop or afterward).
Z 752b29b789e54a6319ec4af094c39418