Subject: Re: [Boost-users] [test] Malloc exceptions when using test framework on 64bit OS X 10.6.1
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-10-14 00:42:21


Emil Dotchevski wrote:
> Couldn't we just use shared_ptr to manage the object? That won't need
> a virtual destructor and in all likelihood will work fine since we
> don't have similar bug reports for shared_ptr.

The only thing shared_ptr would do to us here is to add level of
indirection leading to the destructor and free being called with the
same address. And I already achieved this ;)

Gennadiy