Boost logo

Boost :

Subject: Re: [boost] scoped_ptr deleter
From: Berserker (berserker_r_at_[hidden])
Date: 2009-09-17 03:23:28


Andrey Semashev wrote:
> Why not simply override operator delete?

Because sometimes you have to allocated/deallocate third-party library
objects with your custom memory manager but you can't modify those
sources :)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk