[llvm-bugs] [Bug 24485] with unique_ptr, compiles, when inherit from unique_ptr, get not complete error

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 18 08:11:54 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24485

Larry Evans <cppljevans at suddenlink.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Larry Evans <cppljevans at suddenlink.net> ---
Adding var_rhs_ptr::operator=:

    var_rhs_ptr&operator=(var_rhs_ptr&&a_ptr)
    {
      return super_t::operator=(std::forward<super_t>(a_ptr));
      return *this;
    }

solved problem.

Sorry for noise :(

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150818/fcc7373e/attachment.html>


More information about the llvm-bugs mailing list