private:
const Path &path;
- std::string::size_type start,end;
+ std::string::size_type start, end;
Iterator(const Path &);
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<other); }
+ bool operator!=(const Path &other) const { return !(*this==other); }
+
Iterator begin() const;
Iterator end() const;
};