------- Comment #9 from jwakely dot gcc at gmail dot com  2008-09-03 15:00 
-------
I have another patch ready for this, but it doesn't work with unique_ptr<T,D>
where D is a reference type, due to Bug 37351 

e.g. constructing from unique_ptr<T,default_deleter<T>&> fails to compile
because std::reference_wrapper<std::default_deleter<T>>::operator()(T*) cannot
be instantiated.

I can submit the patch anyway with an XFAIL testcase until std::result_of is
fixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36962

Reply via email to