On Thursday, 14 June 2012 at 13:21:34 UTC, Jacob Carlborg wrote:
If you want that and have it immutable you need to make a deep copy of the passed in object to be safe. You could use const instead and also making the argument const. If an argument is const you can pass both mutable and immutable values, and const of course.
Thanks, I'll try that.

Reply via email to