Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net