$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-19 11:41:04
----- Original Message -----
From: "Thomas Maeder" <maeder_at_[hidden]>
> Are there equivalent precautions against
>
> shared_ptr<Base> b(new Derived);
Not in the current shared_ptr<>; I can't speak for Peter's. It might be a
good idea, though this case is a lot less serious because the difference in
type is apparent by inspection.