diff options
-rw-r--r-- | cutl/fs/path.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cutl/fs/path.hxx b/cutl/fs/path.hxx index 2b1743a..aee91b9 100644 --- a/cutl/fs/path.hxx +++ b/cutl/fs/path.hxx @@ -91,6 +91,18 @@ namespace cutl basic_path operator/ (basic_path const&); + bool + operator== (basic_path const& x) const + { + return path_ == x.path_; + } + + bool + operator!= (basic_path const& x) const + { + return !(*this == x); + } + public: string_type string () const |