Subject: Re: [boost] [move] unique_ptr converting constructor
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-05-06 06:38:59
El 06/05/2015 a las 0:13, Peter Dimov escribió:
> Ion Gaztañaga wrote:
>> That's because the converting constructor is programed as taking
>> rv<unique_ptr<U, E>> (similar to unique_ptr<U, E> &&) and that
>> provokes emulation limitations when returning by value convertible types.
> Yes. I tried to give it the result of boost::move, which should be rv<>,
> but it still didn't work.
> By value has its own limitations, as described.
Would this help?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk