comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Copying a hash
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Copying a hash [message #81074 is a reply to message #81003] Thu, 09 August 2012 17:44 Go to previous messageGo to previous message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
There is actually nothing wrong with not providing a 'deep copy' functionality. In most (all?) languages with full object oriented programming support (which I don't include IDL in yet, for the lack of several key features) it is always the responsibility of the coder to provide a copy constructor.

I do this for all the IDL custom objects I create by considering it mandatory to implement a copy function that returns an instance of the copied object. That's no different from what is required in genuine OO languages.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RESOLVE_ROUTINE not finding MEDIAN function?
Next Topic: mosaic

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:36:23 PDT 2025

Total time taken to generate the page: 0.00422 seconds