Hi, I just wanted to naively copy an object and used:a = myobj.dup; [...]
A naive clone method for objects: https://github.com/rumbu13/sharp/blob/c34139449a078618e807a3f206541656df1bea6a/src/system/package.d#L46
rumbu via Digitalmars-d-learn Mon, 14 Dec 2015 00:46:01 -0800
Hi, I just wanted to naively copy an object and used:a = myobj.dup; [...]
A naive clone method for objects: https://github.com/rumbu13/sharp/blob/c34139449a078618e807a3f206541656df1bea6a/src/system/package.d#L46