https://issues.dlang.org/show_bug.cgi?id=13279

--- Comment #5 from [email protected] ---
Thank you a lot, @monarchdodra! I was part of legacy code and the main idea was
"don't touch while it works!". Modifying collection while iterating over is
really horrible idea.

Thus my list does much more deletion operations than addition ones, I simply
fills new list with remaining elements and swaps two lists at the end of
iteration. 

Invalid.

--

Reply via email to