Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] Benchmarks
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-13 18:04:05


On 03/13/2016 06:01 PM, Phil Bouchard wrote:
>
> Because you can still call the function using a root_ptr<>:
>
> int main()
> {
> root_ptr<int> p(new block<int>(10));
>
> foo(p);
> }

I meant:

int main()
{
      root_ptr<int> p(new node<int>(10));

      foo(p);
}


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