[v3] Add unique_ptr(auto_ptr<_Up>&&) + contraints
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Aug 10 16:31:00 GMT 2010
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.
I can do that, when I eventually get some spare time again.
More information about the Libstdc++
mailing list