예제 #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;
			}
예제 #2
0
파일: slice.hpp 프로젝트: Abioy/ardb
 inline bool operator<(const Slice& x, const Slice& y)
 {
     return x.compare(y) < 0;
 }