Am 05.04.15 um 12:34 schrieb Sven Van Caekenberghe:
the Dictionary>>postCopy comment reads: "Must copy the associations, or later store will affect both the original and the copyYou interpret the comment incorrectly: it talks about the association itself, not the value that it holds. Without Dictionary>>#postCopy associations end up being shared between the original and the copy; when you overwrite an existing entry in the original dictionary, you would also change the copy - which you do not want.You seem to be expecting that the values that you put in should also be copied, but that is your responsibility, not that of the data structure. Think about it, this copying does not happen in arrays or ordered collections either. Does that make sense ?
Yes, thanks -- Hartmut Krasemann Königsberger Str. 41 c D 22869 Schenefeld Tel. 040.8307097 Mobil 0171.6451283 krasem...@acm.org
smime.p7s
Description: S/MIME Cryptographic Signature