bug 350: operator > missing.
--- a/src/core/ptr.h Thu Oct 16 10:26:13 2008 +0200
+++ b/src/core/ptr.h Thu Oct 16 12:17:00 2008 +0200
@@ -341,6 +341,24 @@
return PeekPointer<T> (lhs) < PeekPointer<T> (rhs);
}
+template <typename T>
+bool operator <= (const Ptr<T> &lhs, const Ptr<T> &rhs)
+{
+ return PeekPointer<T> (lhs) <= PeekPointer<T> (rhs);
+}
+
+template <typename T>
+bool operator > (const Ptr<T> &lhs, const Ptr<T> &rhs)
+{
+ return PeekPointer<T> (lhs) > PeekPointer<T> (rhs);
+}
+
+template <typename T>
+bool operator >= (const Ptr<T> &lhs, const Ptr<T> &rhs)
+{
+ return PeekPointer<T> (lhs) >= PeekPointer<T> (rhs);
+}
+
template <typename T1, typename T2>
Ptr<T1>
const_pointer_cast (Ptr<T2> const&p)