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.
Chris Just wrote:
> 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?
> Chris Just
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk