I do not understand copy constructors
Tejas
notrealemail at gmail.com
Thu Aug 12 12:30:26 UTC 2021
On Thursday, 12 August 2021 at 12:22:22 UTC, Tejas wrote:
> On Thursday, 12 August 2021 at 12:19:56 UTC, Tejas wrote:
>> [...]
>
> Works with ```@safe``` as well
>
> Paul was just trying to make that other answer work, you don't
> have to make copy constructors ```@trusted```
Ignore this, it doesn't work for dynamic arrays(but it does for
static, ie, fixed length arrays)
More information about the Digitalmars-d-learn
mailing list