X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fpath.h;h=c701e60f7fb97dbf507cf0295ea13adefb32aec1;hp=6aa16f6d08191a9d7d4000f8f9be65ee4d6217a6;hb=fbc986fca28ce01240718a7835ee7e4798b5d20d;hpb=8552e6a4e4fbc454e08c582d1dbcd55ab58a3c37 diff --git a/source/fs/path.h b/source/fs/path.h index 6aa16f6..c701e60 100644 --- a/source/fs/path.h +++ b/source/fs/path.h @@ -30,7 +30,7 @@ public: private: const Path &path; - std::string::size_type start,end; + std::string::size_type start, end; Iterator(const Path &); public: @@ -80,6 +80,12 @@ public: std::string operator[](int) const; bool operator==(const Path &) const; + bool operator<(const Path &) const; + bool operator>(const Path &) const; + bool operator<=(const Path &other) const { return !(*this>other); } + bool operator>=(const Path &other) const { return !(*this