I get this error:
invalid foreach aggregate, define opApply(), range primitives, or use .tupleof
for code like foreach (ref it; myArray.doSomething) {}Probably not the best idea anyway. What's the best fix for this? Thanks.
I get this error:
invalid foreach aggregate, define opApply(), range primitives, or use .tupleof
for code like foreach (ref it; myArray.doSomething) {}Probably not the best idea anyway. What's the best fix for this? Thanks.