diff --git a/filesystem/path.h b/filesystem/path.h index 9d1ac89..f816c34 100644 --- a/filesystem/path.h +++ b/filesystem/path.h @@ -216,6 +216,10 @@ class path { return oss.str(); } + inline operator std::string(){ + return this->str(); + } + void set(const std::string &str, path_type type = native_path) { m_type = type; if (type == windows_path) {