Toni Kauko
Toni Kauko
Did some research on this and based on https://en.cppreference.com/w/cpp/filesystem std::filesystem originally was a feature of boost library so https://www.boost.org/doc/libs/1_81_0/libs/filesystem/doc/index.htm ... Maybe include that in the project instead for backwards compatibility?...
Just found this which might be helpful! https://github.com/gulrak/filesystem "An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD."
> Just found this which might be helpful! https://github.com/gulrak/filesystem > > "An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD." According to my tests gulrak's...
https://github.com/masqutti/NeuralAmpModelerPlugin/commit/e3fa057f1f110b8d92dabd70d00f04a3415eed1c Here's info how I did it, it's not a big change but I am unfortunately too occupied at the moment to do pull requests myself. It requires the https://github.com/gulrak/filesystem...
Oh yes definitely, if strings are enough. I guess I'll investigate it a bit further when I got the time 🤔
I took a look and yes many of the paths can be just std::strings. However there are some std::filesystem methods that are required to be implemented "locally" which are: has_filename()...
> I think it would be better to just pass paths as strings, rather than add another dependency with https://github.com/gulrak/filesystem. > > From looking at the code, it isn't doing...
> Hey @masqutti, any chance this could be revisited? Now that the iPlug2 fix is merged, perhaps this has become more straightforward. > > I tried to make a PR...
@sdatkinson I can definitely still do a pull request which includes gulrak's filesystem, either as a submodule or just plain ol copy/paste ;) But I won't attempt if it's not...
> Thanks all for your patience on this. > > I'm open to either of the two paths forward: > > * using gulrak's filesystem > * Implementing the needed...