|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2005-03-01 00:47:54
The serialization system has a class - extended_type_info which does exactly
this. You might not like the way it does it - but there it is.
Robert Ramey
Chris Just wrote:
> Hi,
> I've been looking through the boost library and I haven't been able
> to find anything that works like typeid() that returns the exact
> (i.e. derived) class name instead of just the base class.
>
> I want to compare two derived classes to make sure that they are of
> the same class, but typeid() only returns the name of the base class.
>
> If there is a boost function that does this, or if someone has a way
> of doing it could you please point me in the right direction?
>
> Thanks,
> Chris Just
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk