[v3] Add unique_ptr(auto_ptr<_Up>&&) + contraints
Paolo Carlini
paolo.carlini@oracle.com
Tue Aug 10 16:36:00 GMT 2010
On 08/10/2010 06:31 PM, Jonathan Wakely wrote:
> On 10 August 2010 11:13, Paolo Carlini wrote:
>
>> Hi,
>>
>> I checked our smart pointers vs US 108 and went add adding the
>> unique_ptr constructor from auto_ptr which we were missing. I also added
>> some missing constraining to the member functions of those classes.
>>
> Excellent. We might as well remove the concept checks such as
> __glibcxx_function_requires(_ConvertibleConcept<_Tp1*, _Tp*>)
> because they'll never fail if SFINAE means the constructor isn't eligible.
>
Oh you are completely right, didn't notice that. I'll do it...
Paolo.
More information about the Gcc-patches
mailing list