Boost logo

Boost :

Subject: Re: [boost] temp_ptr<> - preventing use as a member
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-11-14 11:21:21

On Mon, Nov 14, 2011 at 5:07 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> On 11/13/2011 04:41 PM, Gottlob Frege wrote:
>> I'm trying to see if I can replace all raw pointers with suitable
>> smart pointers that clearly describe the pointer's lifetime, sharing,
>> etc.
>> For example, a pointer passed into a function, that is only valid for
>> the lifetime of the function call.  A temp_ptr or callstack_ptr or ...
>> some better name.
> This sounds a lot like scoped_ptr.

Sounds more like a ptr that doesn't own it's content...

Boost list run by bdawes at, gregod at, cpdaniel at, john at