Do you have a better way to remove element from a array?
bachmeier via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Feb 5 08:09:49 PST 2015
On Thursday, 5 February 2015 at 14:09:10 UTC, bearophile wrote:
> Tobias Pankrath:
>
>> Works as designed:
>> http://dlang.org/phobos/std_algorithm.html#.remove
>
> Unfortunately it's one of the worst designed functions of
> Phobos:
> https://issues.dlang.org/show_bug.cgi?id=10959
>
> Bye,
> bearophile
It seems your argument is that remove is poorly designed because
it's not destructive. Or am I missing your argument?
More information about the Digitalmars-d-learn
mailing list