ghc::filesystem Release v1.5.2
2021-02-27 20:57

Today I released v1.5.2
of
ghc::filesystem
, my implementation of C++17
std::filesystem
for C++11, C++14, C++17 and C++20.
This release brings performance optimizations on the POSIX backend, where
tests with recursive_directory_iterator over a larger directory tree got
about 20%-25% faster, improved string_view support and various fixes.
The full list of changes in v1.5.2:
- Enhancement #104
, on POSIX backend: optimized reuse of status information and reduced
directory_entrycreation leads to about 20%-25% in tests withrecursive_directory_iteratorover a larger directory tree. - Pull request #103
,
wchar_twas not in the list of supported char types on non-Windows backends. - Pull request #102
, improved
string_viewsupport makes use of<string_view>or<experiemental/string_view>when available, and allows use of custombasic_string_viewimplementation when definingGHC_HAS_CUSTOM_STRING_VIEWand importing the string view into theghc::filesystemnamespace before including filesystem header. - Pull request #101 , fix for #100 , append and concat type of operations on path called redundant conversions.
- Pull request #98
, on older linux variants (GCC 7/8), the comerative
std::filesystemtests now link with-lrtto avoid issues. - Fix for #97
, on BTRFS the test case for
fs::hard_link_countfailed due to the filesystems behavior, the test case was adapted to take that into account. - Pull request #96
, the export attribute defines
GHC_FS_APIandGHC_FS_API_CLASSare now honored when when set from outside to allow override of behavior. - Fix for #95 , the syntax for disabling the deprecated warning in tests in MSVC was wrong.
- Pull request #93
, now the CMake configuration file is configured and part of the
make installfiles.
I want to thank all contributors for their support!