foreach.md
For-Each macros. Since doing a for loop with iterators can be a lot to write, these macros solve that problem. There are two of them:
CMC_FOREACH- Goes from the beginning of a Collection to the endCMC_FOREAC_REV- Goes from the end of a Collection to the beginning
CMC_FOREACH
#define CMC_FOREACH(PFX, SNAME, ITERNAME, TARGET)
PFX- Functions prefixSNAME- Struct nameITERNAME- Iterator variable nameTARGET- Target collection variable name
CMC_FOREACH_REV
#define CMC_FOREACH_REV(PFX, SNAME, ITERNAME, TARGET)
PFX- Functions prefixSNAME- Struct nameITERNAME- Iterator variable nameTARGET- Target collection variable name