$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gennadiy Rozental (gennadiy_at_[hidden])
Date: 2002-08-16 01:36:36
> typedef boost::shared_ptr<Child, boost::inherits<HRoot> > HChild;
> class shared_ptr : public InheritancePolicy::super (HRoot in this case)
> ...
> try {
> throw HChild (new Child);
> }
> catch (HRoot root) {
> ...
}
This does not work. It is not only double the size of smart_ptr, but catched
object is empty.
Do I see somethig wrong?
Gennadiy.