id summary reporter owner description type status milestone component version severity resolution keywords cc 5768 any_cast a.khawaldeh@… Antony Polukhin "assume we have a class Base, and other class Derived that inherits Base. I can write {{{ boost::any a = new Derived; }}} so, the following code {{{ Derived* d = any_cast(a); }}} will work good, but!! {{{ Base* b = any_cast(a); }}} will fail. i.e boost::any_cast could not work with inheritance and polymorphism. You may wonder why this is needed? but I did faced this case. I solved this problem in '''boost::any''' on my machine, and I thought to share this with others, so if this sounds useful to you, please tell me how can I add my code to boost many thanks. " Bugs closed To Be Determined any Boost 1.47.0 Problem wontfix