$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [shared_ptr] Where is the bug?
From: Matthew L. Creech (mlcreech_at_[hidden])
Date: 2008-10-03 02:30:58
On Fri, Oct 3, 2008 at 2:26 AM, vicente.botet <vicente.botet_at_[hidden]> wrote:
>
> EXIT STATUS: 0
> Where is the bug?
>
If you're wondering why X's destructor isn't run, you need to make B's
destructor virtual:
http://www.parashift.com/c++-faq-lite/virtual-functions.html#faq-20.7
-- Matthew L. Creech