Boost logo

Boost :

Subject: [boost] root_ptr only on stack? (was Re: [Root Pointer] Seeking a Review Manager
From: Larry Evans (cppljevans_at_[hidden])
Date: 2016-04-03 12:31:27


On 04/01/2016 12:25 AM, Phil Bouchard wrote:
> Greetings,
>
> - "Root Pointer" is an alternative to the long unsolved problem of
> garbage collectors which lasted for more than 70 years!
>
>
> - Thanks to Paul A. Bristow for his help on the generation of the
> documentation which is now available at the following link:
> http://philippeb8.github.io/root_ptr/
>
Judging just from:

http://philippeb8.github.io/root_ptr/root_ptr/rationale.html

I would guess a root_ptr *must* be on the stack.
However, I didn't find anything in the following:

https://github.com/philippeb8/root_ptr/blob/master/include/boost/smart_ptr/root_ptr.hpp

http://philippeb8.github.io/root_ptr/header/boost/smart_ptr/root_ptr_hpp.html

to support this.

Could you please clarify?

-regards,
Larry


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