Std::filesystem and std::string_view


#1

As said here (https://github.com/GameFoundry/bsf/pull/181#issuecomment-405868914) the bsf code would eventually migrate to C++17, instead of C++14.

Has this decision been made yet?


#2

I’d like to switch to C++17 but so far I’ve been far too busy and it’s not exactly the highest priority. Even if we do, I’m not sure about std::filesystem yet, I probably wouldn’t change the current system if it works and we don’t gain anything major with std version.


#3

Would you accept pull requests that use std::string_view?

This would mean that bsf would no longer be compatible with C++14 at all.


#4

There would first need to be a PR to enable C++17 in all the build files and ensure things build on all the platforms. Also update all the relevant docs and requirements.

And it depends on the exact system being changed whether string_view would be fine.