So my question is, is there a way to deep copy the context of a struct?
I recently noticed nested struct capture its context by reference
(which, BTW, is not mentioned at all here:
https://dlang.org/spec/struct.html#nested). And bliting a struct
obviously doesn't do a deep copy of its context.
- Copy a struct and its context Yuxuan Shui via Digitalmars-d-learn
- Re: Copy a struct and it... Rene Zwanenburg via Digitalmars-d-learn
- Re: Copy a struct and it... Ali Çehreli via Digitalmars-d-learn
- Re: Copy a struct an... Steven Schveighoffer via Digitalmars-d-learn
- Re: Copy a struc... Yuxuan Shui via Digitalmars-d-learn
- Re: Copy a s... Steven Schveighoffer via Digitalmars-d-learn
- Re: Cop... Yuxuan Shui via Digitalmars-d-learn
- Re: Copy a struc... Basile B. via Digitalmars-d-learn