$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] shared_ptr downcast
From: Vincent Jacques (newsgroups_at_[hidden])
Date: 2008-12-23 05:36:47
Hello,
Quoting Jason Cipriani <jason.cipriani_at_[hidden]>:
> How do I downcast to a shared_ptr<Derived>? E.g.:
Isn't dynamic_pointer_cast what you are looking for ?
http://www.boost.org/doc/libs/1_37_0/libs/smart_ptr/shared_ptr.htm#functions
I hope it helps,
-- Vincent Jacques "S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" Devise Shadock