Getting around the lack of foreach in CTFE

Colin Grogan grogan.colin at gmail.com
Fri Mar 28 04:59:45 PDT 2014


I'm interested to hear peoples methods for getting around the 
lack of foreach loops while using CTFE?

Currently, I've been using a lot of recursive templates, but its 
beginning to give me a headache and I'd like to see if there's 
better ways around it.

On a related note, is there plans to add foreach support to CTFE?


More information about the Digitalmars-d-learn mailing list