Implement std::ranges::less without std::less
authorJonathan Wakely <jwakely@redhat.com>
Fri, 18 Oct 2019 11:27:26 +0000 (12:27 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 18 Oct 2019 11:27:26 +0000 (12:27 +0100)
commit7e4b7d7bacd750628a99a42237e75810a4359b74
tree244f251cddcf46e1f4f9d40a7d5504b8a15ef911
parentbec3c279a86d951003452727bca933e4fa7731ca
Implement std::ranges::less without std::less

* include/bits/range_cmp.h (ranges::less::operator()): Inline the
logic from std::less::operator() to remove the dependency on it.

From-SVN: r277150
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/range_cmp.h