Jonas Sicking: > Like I said in my original posting, that won't work with state that you > need to keep private. Basically here is what would fail: > … Sorry, I glossed over your original mail and didn’t see you mentioned the UserDataHandler (and why it wouldn’t work). > So in order to set the private data in the clones binding the binding > has to expose some API that lets to set the private data directly. > However this would mean that the data is no longer private and anyone > could at any time change it. Right. So after reading your mail properly, I agree that D would be most useful: have in effect a default copy constructor which can be overridden (by having a function on the implementation object) in case a shallow copy of the properties of the private object isn’t sufficient. -- Cameron McCormack, http://mcc.id.au/ xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.auReceived on Thursday, 10 May 2007 00:14:17 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:22 GMT