On 01/25/2018 04:04 PM, Phil Bouchard via Boost wrote:
On 12/24/2017 05:29 PM, Phil Bouchard via Boost wrote:
Here is yet another important update: https://github.com/philippeb8/root_ptr/tree/master/include/boost/smart_ptr
I've been testing Fornux C Leak Detector (modified Clang which uses Root.Ptr) with a modified libarchive 3.2.2: https://github.com/philippeb8/libarchive/commit/5858b5c047301123ffdf05f247f7...
For the starters, I've updated the simple example (I will have to update downcasting again): https://github.com/philippeb8/root_ptr/blob/master/example/root_ptr_example1...
Ok downcasting is fine now and it can be used as such: cout << "Downcasting:" << endl; { node_proxy x; node_ptr<C> p = dynamic_pointer_cast<C>(make_node<B>(x)); cout << p.get() << endl; } cout << endl; Sincerely, Phil Bouchard www.fornux.com