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

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 4 11:14:19 PST 2017


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

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

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

--- Comment #1 from Marshall Clow (home) <mclow.lists at gmail.com> ---
This is not a libc++ bug.

The errors that you're getting show that you're using libstdc++ as your
standard library. (Specifically, the path elements like
'/5.4.0/bits/stl_algobase.h')

Both of your test programs compile w/o errors (On Mac OS X) using either
Apple's released version of clang + libc++, or ToT clang + libc++.

-- 
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/20170104/82a7d646/attachment.html>


More information about the llvm-bugs mailing list