$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2006-04-04 05:11:37
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