2 ms·
>Will it copy the references anyway, meaning both structures now have a pointer to the same object? Correct. A value copy is a simple shallow copy. Deep copy r
by kgeist 4y ago
>Will it copy the references anyway, meaning both structures now have a pointer to the same object?
Correct. A value copy is a simple shallow copy. Deep copy requires use of reflection (if you don't want to manually manage copying).