diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-03-22 14:23:27 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-03-22 14:23:27 +0000 |
commit | 7c69a7d9bdabb4d0200718edfff54a139e488b7f (patch) | |
tree | 7afede0eb45c1aeb24a6377f8775913809408748 /gcc | |
parent | ece7d31f429306945b5fb8b31496d2725bd74a13 (diff) | |
download | gcc-7c69a7d9bdabb4d0200718edfff54a139e488b7f.zip gcc-7c69a7d9bdabb4d0200718edfff54a139e488b7f.tar.gz gcc-7c69a7d9bdabb4d0200718edfff54a139e488b7f.tar.bz2 |
PR libstdc++/85040 fix std::less<void> etc. ambiguities
PR libstdc++/85040
* include/bits/stl_function.h (greater::__not_overloaded)
(less::__not_overloaded, greater_equal::__not_overloaded)
(less_equal::__not_overloaded): Fix ambiguous specializations.
* testsuite/20_util/function_objects/comparisons_pointer.cc: Add
tests for type with overlaoded operators.
From-SVN: r258773
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions