foreach (i, ref o; output)

But isn't output empty?

Indeed it is, when output is a new array.

Then how can I approach this to work for both cases:
1) output is empty?
2) output is the size of input? (MmFile's)

Reply via email to