FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Automatically deep copying objects?

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
()



Joined: 14 Sep 2004
Posts: 1

PostPosted: Tue Sep 14, 2004 11:54 am    Post subject: Automatically deep copying objects? Reply with quote

Is there any way to automatically deep copy objects in D, as with the Python "copy" module? Everything being passed around as references, its a PITA to explicitly copy everything (or am I missing something?).

Looking at the type information available in D, it doesn't look like it's possible to implement automatic copying in a library. I suppose this sort of thing would have to be implemented in the GC?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group