Update of /cvsroot/boost/boost/boost/numeric/ublas
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23872/boost/numeric/ublas

Modified Files:
        storage.hpp 
Log Message:
CHANGE Remove greater for testing and replece with rhs.less(lhs)

Index: storage.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/numeric/ublas/storage.hpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- storage.hpp 20 Jun 2006 18:55:30 -0000      1.74
+++ storage.hpp 21 Jun 2006 18:17:53 -0000      1.75
@@ -1587,10 +1587,6 @@
             return (v1_ < rhs.v1_);
         }
         BOOST_UBLAS_INLINE
-        bool greater(const self_type& rhs) const {
-            return (v1_ > rhs.v1_);
-        }
-        BOOST_UBLAS_INLINE
         friend bool operator == (const self_type& lhs, const self_type& rhs) {
             return lhs.equal(rhs);
         }
@@ -1608,11 +1604,11 @@
         }
         BOOST_UBLAS_INLINE
         friend bool operator > (const self_type& lhs, const self_type& rhs) {
-            return lhs.greater(rhs);
+            return rhs.less(lhs);
         }
         BOOST_UBLAS_INLINE
         friend bool operator <= (const self_type& lhs, const self_type& rhs) {
-            return !lhs.greater(rhs);
+            return !rhs.less(lhs);
         }
 
     private:
@@ -1764,11 +1760,6 @@
                     (v1_ == rhs.v1_ && v2_ < rhs.v2_));
         }
         BOOST_UBLAS_INLINE
-        bool greater(const self_type& rhs) const {
-            return ((v1_ > rhs.v1_) ||
-                    (v1_ == rhs.v1_ && v2_ > rhs.v2_));
-        }
-        BOOST_UBLAS_INLINE
         friend bool operator == (const self_type& lhs, const self_type& rhs) {
             return lhs.equal(rhs);
         }
@@ -1786,11 +1777,11 @@
         }
         BOOST_UBLAS_INLINE
         friend bool operator > (const self_type& lhs, const self_type& rhs) {
-            return lhs.greater(rhs);
+            return rhs.less(lhs);
         }
         BOOST_UBLAS_INLINE
         friend bool operator <= (const self_type& lhs, const self_type& rhs) {
-            return !lhs.greater(rhs);
+            return !rhs.less(lhs);
         }
 
     private:


All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to