Skip to content
Prev 26677 / 63424 Next

How to overload the assignment operator?

Thank you Brian,
So I understand that setReplaceMethod will not help.
I would be even happier if the cloning would only occur on any attempt to change the external pointer / proxy-object.
Mh, unless the internal copying mechanism would call a clone generic for non-atomic objects
How that? How do I know that any user has assigned/modified the external pointer (or a proxy object containing the external pointer) such that I can invoke the cloning?

Best regards


Jens Oehlschl?gel
--