
14 Feb
2010
14 Feb
'10
10:07 p.m.
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. Robert Ramey