We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5048b87 commit 101f477Copy full SHA for 101f477
libs/openFrameworks/utils/ofFilesystem.h
@@ -138,6 +138,12 @@ class path {
138
path& replace_filename(const path & ext = std::filesystem::path()) { path_.replace_filename(ext);
139
return *this;
140
}
141
+
142
+ template <typename T>
143
+ path& assign(T&& p) {
144
+ path_.assign(std::move(std::forward<T>(p)));
145
+ return *this;
146
+ }
147
path& operator/=(path&& p) noexcept {
148
path_ /= std::move(p.path_);
149
0 commit comments