foreach over split string

JS js.mdnq at gmail.com
Wed Jul 17 07:02:00 PDT 2013


foreach(n; std.string.split(s, ","))
{
     // n can't be read at compile time
}

using in a ctfe.

How to loop over a string array in a ctfe?


More information about the Digitalmars-d-learn mailing list