Boost logo

Boost :

Subject: Re: [boost] [Shifted Pointer] Review Request
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-04-22 03:14:51

On 4/22/2011 12:03 AM, Jeremy Maitin-Shepard wrote:
> I think he is just suggesting to replace
> "new shifted<T>(...)"
> with
> "make_shifted<T>(...)"
> or something similar, where make_shifted returns a shifted_ptr<T>
> directly rather than a raw pointer to shifted<T>.

make_shifted<>() would make overloading of the allocator less flexible.
  This is why I opted for operator new.


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