Algorithm remove Tid

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


On Wednesday, 22 January 2014 at 13:16:18 UTC, monarch_dodra 
wrote:
> Because "remove" takes an "offset" as an argument, not an 
> element.
>
> To remove an element, I *think* you do it this way:
>
> tids = tids.remove!(a=>a == tid)();

Thanks a lot. I was trying to get that part to work, but I had a 
hard time realizing that => was a lambda and not a >=. x.x


More information about the Digitalmars-d-learn mailing list