$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [interprocess] default constructors
From: David Abrahams (dave_at_[hidden])
Date: 2008-12-04 13:54:11
on Wed Dec 03 2008, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
> David Abrahams wrote:
>
>> I don't think it's unfortunate. Destructive move semantics is nearly
>> impossible to use correctly in many conditions.
>
> Would you mind giving examples?
void f()
{
X a;
if (something)
g(move(a));
// ...
// a.~X() ?
}
-- Dave Abrahams BoostPro Computing http://www.boostpro.com