4 Apr
2006
4 Apr
'06
9:11 a.m.
Marco Correia wrote:
Hi,
Thanks for the ideas, however I do not understand how typeid may be used to solve this. How do I instantiate my deallocator with information that comes from typeid?
Well, you can use typeid() to figure out the type of the object. I don't know why you loose the type information, but it's your job to find it again, no matter what approach you use. I can't comment more specific with the infor you gave. -Thorsten