summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Proxy.h')
-rw-r--r--cpp/include/Ice/Proxy.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h
index 15e9e173a1c..2f2f4c71456 100644
--- a/cpp/include/Ice/Proxy.h
+++ b/cpp/include/Ice/Proxy.h
@@ -268,6 +268,38 @@ ICE_API bool proxyIdentityEqual(const ObjectPrx&, const ObjectPrx&);
ICE_API bool proxyIdentityAndFacetLess(const ObjectPrx&, const ObjectPrx&);
ICE_API bool proxyIdentityAndFacetEqual(const ObjectPrx&, const ObjectPrx&);
+struct ProxyIdentityLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
+{
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
+ {
+ return proxyIdentityLess(lhs, rhs);
+ }
+};
+
+struct ProxyIdentityEqual : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
+{
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
+ {
+ return proxyIdentityEqual(lhs, rhs);
+ }
+};
+
+struct ProxyIdentityAndFacetLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
+{
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
+ {
+ return proxyIdentityAndFacetLess(lhs, rhs);
+ }
+};
+
+struct ProxyIdentityAndFacetEqual : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
+{
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
+ {
+ return proxyIdentityAndFacetEqual(lhs, rhs);
+ }
+};
+
}
#endif