Subject: Re: [boost] std::map::find() wrapper
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-05-05 10:21:52
On Thu, May 5, 2011 at 2:01 PM, Stewart, Robert <Robert.Stewart_at_[hidden]> wrote:
> Nevin Liber wrote:
>> I have a hard time imaging a useable code base which has a
>> convention that any time a pointer is returned one should
>> assume that the memory must be deleted by the caller.
> That used to be the norm before smart pointers caught on. I cannot say how common it is today, but the possibility exists.
Really? Got any reference for that?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk