Add equal transparent

This commit is contained in:
Ion Gaztañaga
2018-09-26 01:07:01 +02:00
parent b51a9e7a25
commit 61d7f651e1

View File

@@ -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{