Remove array element within function

Mike Parker aldacron at gmail.com
Mon Jul 5 14:36:28 UTC 2021


On Monday, 5 July 2021 at 14:30:11 UTC, Mike Parker wrote:

>
> You never copy the contents of a dynamic array/slice. That only 
> comes into play with static arrays:

I should rephrase that. You aren't going to copy the contents of 
an array/slice just by passing it to a function.


More information about the Digitalmars-d-learn mailing list