Welcome Guest Search | Active Topics | Log In | Register

release hook automation for class instances
#1 Posted : Wednesday, January 5, 2011 6:44:57 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 1/3/2011(UTC)
Posts: 60

Thanks: 0 times
Was thanked: 4 time(s) in 4 post(s)
It always bothered me that I have to explicitly set the instance destructor every time I create an instance. I mean, how big is the chance that you will need different release hooks for instances created from the same class?

I would really like to see some automation in this regard, like for instance a sq_setinstancereleasehook function that sets an instance release hook on a class which is automatically set for all instances created from this class. :)
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.070 seconds.