[llvm-bugs] [Bug 31537] std::sort and std::unique can not use std::function with -std=c++14

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 5 18:21:48 PST 2017


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

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

--- Comment #4 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The cause of the difference here is Clang more eagerly instantiating constexpr
function templates than GCC does. I'm going to implement the current direction
of CWG issue 1581 to get Clang to accept this.

*** This bug has been marked as a duplicate of bug 23135 ***

-- 
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/20170106/4e37fba9/attachment.html>


More information about the llvm-bugs mailing list