Remove array element within function

Mike Parker aldacron at gmail.com
Mon Jul 5 14:32:56 UTC 2021


On Monday, 5 July 2021 at 13:41:59 UTC, Rekel wrote:
> I'm not sure if this is the place to talk about it, but on the 
> same topic it's a little strange to me neither the Dlang Tour 
> nor the arrays spec page mention removing elements. Even though 
> basically everyone is going to use it sooner or later (most 
> likely sooner).
>
> Is that because it's part of the library? That's the only 
> reason I could think of, while in a way I could make that 
> argument for appending in the case it hadn't been given the `~` 
> and `~=` operators.

I had no involvement in creating the Tour, so I could only guess 
why it isn't covered. But if you think it should be, you can 
always submit an issue:

https://github.com/dlang-tour/core/issues


More information about the Digitalmars-d-learn mailing list