Subject: Re: [boost] Downcast taking account of virtual inheritance
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-02-14 17:07:27
joel falcou wrote:
> vicente.botet wrote:
>> And it work also. But now dynamic_cast is used only if U is
>> virtual_base_of T. Can this be added to smart_cast?
> And can it be made available outside of serialization ?
You can just include boost/serialization/smart_cast.hpp right now.
Until about two years ago, you could have just included boost/smart_cast.hpp
but, after 6 years of being there I got a huge amount of grief for putting
it there and it was removed. If someone were interested, it could be
enhanced to include any missing pieces and subjected to it's own review and
then moved back into boost/ or boost/utility ... . I would be happy to see
someone take ownership of it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk