[Bug libstdc++/80064] [7 Regression] _Iter_cmp_iter instantiates bogus type
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 16 10:23:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80064
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
#include <algorithm>
#include <vector>
bool greater(int, int);
int main()
{
std::vector<int> v;
std::make_heap<std::vector<int>::iterator, bool (int, int)>
(v.begin(), v.end(), greater);
}
More information about the Gcc-bugs
mailing list