--- trunk/src/utils/Tuple.hpp 2005/12/10 16:54:40 808 +++ trunk/src/utils/Tuple.hpp 2008/07/01 13:28:23 1269 @@ -92,6 +92,25 @@ inline bool operator < (const tuple3& t1, || (!(t2.first < t1.first) && !(t2.second < t2.second) && t1.third < t2.third); } + +inline bool operator < (const tuple3 >& t1, const tuple3 >& t2) { + + if (t1.first < t2.first) + return true; + else { + if (t1.first > t2.first) + return false; + + if (t1.second < t2.second) + return true; + else + if (t1.second > t2.second) + return false; + + return true; + } +} + template inline bool operator < (const tuple4& t1, const tuple4& t2) {