forked from boostorg/container
Add equal transparent
This commit is contained in:
1 parent
b51a9e7a25
commit
61d7f651e1
1 file changed
+11
@@ -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 container {
|
||||
} //namespace boost{
|
||||
|
||||
Reference in new issue
Block a user