diff options
Diffstat (limited to 'libbutl/path.ixx')
-rw-r--r-- | libbutl/path.ixx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbutl/path.ixx b/libbutl/path.ixx index c140d1e..7227b72 100644 --- a/libbutl/path.ixx +++ b/libbutl/path.ixx @@ -102,6 +102,14 @@ namespace butl template <typename C, typename K> inline bool basic_path<C, K>:: + normalized (bool sep) const + { + return (!sep || this->tsep_ <= 1) && + traits::normalized (this->path_, sep); + } + + template <typename C, typename K> + inline bool basic_path<C, K>:: root () const { return traits::root (this->path_); |