Skip to content

Remove __cpp_lib_filesystem check for <filesystem>#451

Merged
DanRStevens merged 1 commit into
mainfrom
removeExperimentalFilesystemFallback
May 18, 2026
Merged

Remove __cpp_lib_filesystem check for <filesystem>#451
DanRStevens merged 1 commit into
mainfrom
removeExperimentalFilesystemFallback

Conversation

@DanRStevens
Copy link
Copy Markdown
Member

This project has long since targetted c++17, which includes <filesystem> as part of the standard. It has then been updated to target c++20. Further the __cpp_lib_filesystem macro is defined in <version> which is part of the c++20 standard. That means we'd need to use a c++20 feature to detect support for a c++17 feature. Seems kind of pointless.

Closes #450

Related:

This project has long since targetted `c++17`, which includes `<filesystem>` as part of the standard. It has then been updated to target `c++20`. Further the `__cpp_lib_filesystem` macro is defined in `<version>` which is part of the `c++20` standard. That means we'd need to use a `c++20` feature to detect support for a `c++17` feature. Seems kind of pointless.
@DanRStevens DanRStevens merged commit b8500d0 into main May 18, 2026
6 checks passed
@DanRStevens DanRStevens deleted the removeExperimentalFilesystemFallback branch May 18, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ineffective use of __cpp_lib_filesystem in XFile

1 participant