Skip to content
Tcl Source Code Artifact [d4668b65bb]
Login

Artifact [d4668b65bb]

Artifact d4668b65bb3cd1c2a23b78da50d9a864dd2bbae63d18e54869ecda9f7b3d3138:

Wiki page [branch/c11-tcloo-foreach] by dkf on 2025-10-25 13:28:03.
D 2025-10-25T13:28:03.445
L branch/c11-tcloo-foreach
N text/x-markdown
U dkf
W 357
This is based on the much wider changes in the `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 cf733427cf4dfe3fe73bb0fa937ecc16