mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
Add equal transparent
This commit is contained in:
@@ -119,6 +119,17 @@ struct less_transparent
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct equal_transparent
|
||||||
|
{
|
||||||
|
typedef void is_transparent;
|
||||||
|
|
||||||
|
template<class T, class U>
|
||||||
|
bool operator()(const T &t, const U &u) const
|
||||||
|
{
|
||||||
|
return t == u;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
} //namespace test{
|
} //namespace test{
|
||||||
} //namespace container {
|
} //namespace container {
|
||||||
} //namespace boost{
|
} //namespace boost{
|
||||||
|
Reference in New Issue
Block a user