This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Apr 2015 10:05:26 +0000
- Subject: [Bug c++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms
- Auto-submitted: auto-generated
- References: <bug-65942-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Avi Kivity from comment #5)
> That's clang + libstdc++-5.1, so if the problem is in libstdc++, it's the
> same bug.
Yes. clang++ -stdlib=libc++ -std=gnu++14 original_testcase.cpp
is also fine.