Do we have a simple find/remove algorithm?

aberba karabutaworld at gmail.com
Sat Sep 26 18:08:55 UTC 2020


On Saturday, 26 September 2020 at 17:41:13 UTC, Guillaume Piolat 
wrote:
> On Saturday, 26 September 2020 at 02:29:57 UTC, Andrei 
> Alexandrescu wrote:
>> "Find it and kill it" seems rather tedious to do.
>
> Yes, this is indeed the only non-trivial operation in this area:
> https://p0nce.github.io/d-idioms/#Adding-or-removing-an-element-from-arrays

removeOne(), removeOneElement()


More information about the Digitalmars-d mailing list