SList: How do I use linearRemove?

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 26 07:55:34 PDT 2014


Lemonfiend:

> 	//list.linearRemove(tree); // <-- Error. What is the correct 
> way?
> }
> ---

linearRemove is linear, so I think it accepts a range. Perhaps 
the "once" range is enough.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list