From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-03-29 14:20:16
David Abrahams wrote:
> David Abrahams <dave_at_[hidden]> writes:
>> Unfortunately for this particular facility, the converting
>> constructor is explicit, so you can't do
>> f(new_<T>(a, b, c))
>> if f takes a shared_ptr<T>.
> I just realized we could probably fix this by removing an "explicit"
> from the ctor that accepts an rvalue auto_ptr. What about that,
> Peter? This seems like a poster child for rvalue distinction!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk