[vtk-developers] complement for "Delete"

Andy Cedilnik Andy.Cedilnik at kitware.com
Wed Mar 13 09:49:47 EST 2002


The problem of having another Register would be that then you would break 
the rule of
New() followed by Delete() and Register() followed by Unregister().
I would say try to rethink the problem in terms of Register/Unregister.

                         Andy


At 01:00 PM 3/12/2002 -0500, Lisa Avila wrote:
>Mike,
>
>Can't we just create another version of Register with no argument? That 
>seems better than having yet another method that changes the reference 
>count.  New is the complement to Delete, Register is the complement to 
>UnRegister.




More information about the vtk-developers mailing list