Example #1
0
			bool operator<(const DBItemKey& other) const
			{
				if (db > other.db)
				{
					return false;
				}
				if (db == other.db)
				{
					return key.compare(other.key) < 0;
				}
				return true;
			}
Example #2
0
File: slice.hpp Project: Abioy/ardb
 inline bool operator<(const Slice& x, const Slice& y)
 {
     return x.compare(y) < 0;
 }