forked from boostorg/unordered
std::equal_to has no first_argument_type in C++20
This commit is contained in:
1 parent
b2b017accb
commit
70fca4483e
1 file changed
+5
@@ -30,6 +30,11 @@ namespace test {
|
||||
typedef test::less type;
|
||||
};
|
||||
|
||||
template<class T> struct equals_to_compare< std::equal_to<T> >
|
||||
{
|
||||
typedef std::less<T> type;
|
||||
};
|
||||
|
||||
template <class X1, class X2> void compare_range(X1 const& x1, X2 const& x2)
|
||||
{
|
||||
typedef test::list<typename X1::value_type> value_list;
|
||||
|
||||
Reference in new issue
Block a user