Do you have a better way to remove element from a array?

Tobias Pankrath via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 5 06:01:54 PST 2015


On Thursday, 5 February 2015 at 13:55:59 UTC, FrankLike wrote:
> On Thursday, 5 February 2015 at 13:29:30 UTC, Tobias Pankrath 
> wrote:
>
>> Works as designed: 
>> http://dlang.org/phobos/std_algorithm.html#.remove
>
> Thank you.
> aa = remove(aa,1);//ok
>
> but how to remove one item?
> such as aa.remove(2) ?

I don't get your question.


More information about the Digitalmars-d-learn mailing list