|
Boost : |
Subject: Re: [boost] [shared_ptr] delete shared_ptr
From: pavel novikov (paul.cpprules_at_[hidden])
Date: 2011-03-17 13:57:13
on Wednesday, March 16, 2011 at 22:44:17
Alexander wrote:
> Please at least include required headers and add 'using' directives to
> the attached code, so that it will be enough to compile :)
the attached file in the original message works with msvc10
tell me if it doesn't
on Wednesday, March 16, 2011 at 23:09:29
Kenny wrote:
> Maybe I'm missing something but how is "delete p;" different from
> "p.reset();" ?
in this particular case they are not (i.e. they are the same)
on Wednesday, March 16, 2011 at 23:23:04
Robert wrote:
> Am I missing something?
with current implementation of boost::shared_ptr it doesn't work
that's the whole point
-- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk