$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Braden N. McDaniel (braden_at_[hidden])
Date: 2000-01-14 02:44:29
On Fri, 14 Jan 2000, Braden N. McDaniel wrote:
> Is there any way to downcast a shared_ptr? That is, the effect of
>
> shared_ptr<Base> base(new Base);
Um. Oops. The above line should of course be
shared_ptr<Base> base(new Derived);
> shared_ptr<Derived> derived(base);
-- Braden N. McDaniel braden_at_[hidden] <URL:http://www.endoframe.com>