On Sunday, 9 August 2015 at 13:22:02 UTC, Reflexive wrote:
Hi

I have seen that it is possible to remove an element from a associative array, but dont find any reference, including in D's specification, about any element removing in dynamic array. I can use loops for that, but isnt any way to simple reduce a dynamic array size ?

Thank you

You can use std.algorithm.remove for that. If you need more advanced ways to remove elements, you may want to switch from a regular dynamic array to a std.container.array.

Reply via email to