add lexically_normal and weakly_canonical to nana.fs

This commit is contained in:
Jinhao
2019-03-22 06:11:24 +08:00
parent 6c7211e77d
commit 01b7f6ff09
2 changed files with 147 additions and 0 deletions

View File

@@ -290,6 +290,8 @@ namespace nana { namespace experimental { namespace filesystem
// std::u16string generic_u16string() const;
// std::u32string generic_u32string() const;
path lexically_normal() const;
//appends
path& operator/=(const path& other);
@@ -544,6 +546,9 @@ namespace std {
path canonical(const path& p);
path canonical(const path& p, std::error_code& err);
path weakly_canonical(const path& p);
path weakly_canonical(const path& p, std::error_code& err);
#endif
#if defined(NANA_FILESYSTEM_FORCE) || defined(NANA_MINGW)