This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Add unique_ptr(auto_ptr<_Up>&&) + contraints


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]