Subject: Re: [boost] [Root Pointer] Benchmark
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-17 19:06:31
On 03/17/2016 06:58 PM, Glen Fernandes wrote:
> On Thu, Mar 17, 2016 at 6:49 PM, Phil Bouchard <philippeb8_at_[hidden]> wrote:
>> Is that acceptable?
> Looks much better.
> I'm assuming allocate_node<U>(Allocator<U>(n1, m1), 1, 'a'); would
> also work, in which case the interface is as tidy as allocate_shared.
No I'm sorry but:
allocate_node<U>(Allocator<U>(n1, m1), 1, 'a');
Can't work. It needs to be in the form:
allocate_node<U>(make_node_allocator<Allocator, U>(n1, m1), 1, 'a');