On 7/9/2014 2:47 PM, Andrei Alexandrescu wrote:
On 7/9/14, 1:51 PM, Walter Bright wrote:
On 7/9/2014 1:35 PM, Andrei Alexandrescu wrote:
Hmmm... how about using u after that?
Using u after that would either cause an exception to be thrown, or
they'd get T.init as a value. I tend to favor the latter, but of course
those decisions would have to be made as part of the design of Unique.
That semantics would reenact the auto_ptr disaster so probably wouldn't be a
good choice. -- Andrei
Is there a good reference on that disaster?