On Sunday, 13 November 2022 at 14:28:45 UTC, DLearner wrote:
Creating a step 1.5:
```
int[] B = A;
```

```D
auto B = A.dup;
```

This will create a copy of A rather than referencing to the same buffer in memory.

Reply via email to