[llvm-bugs] [Bug 35235] stable_sort() won't compile with function object that takes parameters by non-const reference

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 16 08:25:35 PDT 2019


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

Marshall Clow (home) <mclow.lists at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|CONFIRMED                   |RESOLVED

--- Comment #6 from Marshall Clow (home) <mclow.lists at gmail.com> ---
As a result of LWG #3101, this is not a valid program (any more).

I'm not going to post a rationale here, since Jonathan put a good one in the
libstdc++ bug report.

-- 
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/20190416/a4cac29e/attachment.html>


More information about the llvm-bugs mailing list