Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foundation: deprecate Poco functionality that is provided with std::filesystem #4780

Open
matejk opened this issue Nov 25, 2024 · 3 comments

Comments

@matejk
Copy link
Contributor

matejk commented Nov 25, 2024

Poco libraries implement some functionality that is provided with std::filesystem.

Minimum standard that Poco supports is C++17 and that includes std::filesystem.

Redundant Poco functionality shall be deprecated or rewritten using std::filesystem features.

  • Poco::DirectoryIterator
  • Poco::File
  • Poco::Path
@matejk matejk added this to the Release 1.15.0 milestone Nov 25, 2024
@obiltschnig
Copy link
Member

obiltschnig commented Nov 25, 2024

Probably not entirely feasible, as I'm pretty sure that Poco can do things that std::filesystem cannot do. Specifically, the UTF16 <> UTF8 conversion Poco does on Windows.

See also: Poco::Thread and std::thread for how things went ;-)

@matejk
Copy link
Contributor Author

matejk commented Nov 25, 2024

Poco implementation could use std::filesystem internally as it is the case with Optional?

@obiltschnig
Copy link
Member

The main problem could be that std::filesystem lacks features that Poco::File, etc. support.

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

No branches or pull requests

2 participants