Overview
| Artifact ID: | d4668b65bb3cd1c2a23b78da50d9a864dd2bbae63d18e54869ecda9f7b3d3138 |
|---|---|
| Page Name: | branch/c11-tcloo-foreach |
| Date: | 2025-10-25 13:28:03 |
| Original User: | dkf |
| Mimetype: | text/x-markdown |
| Next | 7f7e4e720ed0a4d1f607a84af1a8a10f1f1e25086c986c3a244032186376c0ca |
Content
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).