|
Boost : |
Subject: Re: [boost] [move][unique_ptr] c++14 unique_ptr comes to town
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-09-03 07:16:58
El 03/09/2014 11:08, Peter Dimov escribió:
> Ion Gaztañaga wrote:
>> Semantics might be a bit more clear for default_delete, as it calls
>> delete. std::is_polymorphic might not be very accurate, maybe
>> std::has_virtual_destructor.
>
> has_virtual_destructor is the correct one. It's a later addition and the
> implementation on which I prototyped probably didn't have it.
Ok, this requires a compiler intrinsic, but I can add it to my
unique_ptr implementation.
Best,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk