Algorithm remove Tid

Casper Færgemand" <shorttail at hotmail.com> Casper Færgemand" <shorttail at hotmail.com>
Wed Jan 22 05:59:34 PST 2014


On Wednesday, 22 January 2014 at 13:51:51 UTC, bearophile wrote:
> Casper Færgemand:
>
>>> To remove an element, I *think* you do it this way:
>>>
>>> tids = tids.remove!(a=>a == tid)();
>
> is that removing only 0 or 1 items?
>
> Bye,
> bearophile

It removes all items that match the tid.


More information about the Digitalmars-d-learn mailing list