$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] make_shared_array
From: Peter Dimov (lists_at_[hidden])
Date: 2012-11-01 10:54:26
Olaf van der Spek wrote:
> On Thu, Nov 1, 2012 at 1:07 PM, Peter Dimov <lists_at_[hidden]> wrote:
> > Glen has made the functions return a shared_ptr, mostly because they are
> > non-intrusive and it's not possible to return a shared_array without
> > changes
> > to shared_ptr and shared_array.
>
> Why's that impossible?
The implementation uses the allocator constructor and the aliasing
constructor of shared_ptr, and shared_array doesn't have them.