Boost logo

Boost :

Subject: Re: [boost] [Root Pointer] Benchmark
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-14 21:13:26


On 03/14/2016 08:57 PM, Glen Fernandes wrote:
> On Mon, Mar 14, 2016 at 8:43 PM, Phil Bouchard wrote:
>> No I just scribbled something quickly but I need to clean up node_base.hpp
>> and make nodealloc<> generic.
>>
>
> Understood. Given that: I've updated the example code to be slightly
> less trivial:
>
> https://github.com/philippeb8/root_ptr/issues/1
>
> After you have updated/cleaned up the code as you've specified, the
> only changes involved should be:
>
> 1. shared_ptr<U> becomes root_ptr<U>
> 2. allocate_shared<U>(Allocator<U>(x, y), p, q) becomes <something>
>
> That <something> should ideally be a single expression where you can
> specify both:
>
> a. Allocator<U> instance
> b. U constructor arguments

Ok I'll do that tomorrow evening.


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