Subject: Re: [boost] [smart_ptr] scoped_array / shared_array(size_t)constructor
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-11-05 13:05:53
Olaf van der Spek wrote:
> On Sat, Nov 5, 2011 at 1:09 PM, Peter Dimov <pdimov_at_[hidden]> wrote:
> > Olaf van der Spek wrote:
> >> > well, is the expected behavior. Every smart pointer tries to mimic
> >> > raw
> >> > pointers and the constructor ambiguity reduces this similarity. I
> >> > also >
> >> > don't
> >> > want to update my code when it breaks.
> >> What's the problem with updating your code?
> > It's not fun, especially when the cause is a component that has been
> > stable
> > for what, a decade now?
> Are you using explicit construction with NULL or 0?
No. I don't use scoped_array and shared_array much (if at all).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk