P2845R8 Formatting `filesystem::path`
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 1.7k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 22
Description
WG21-P2845R8 Formatting filesystem::path
WG21-P2319R5 Prevent Path Presentation Problems
LWG-4512 The system_encoded_string() and generic_system_encoded_string() member functions of std::filesystem::path are misnamed
We'll also need to complete the enable_nonlocking_formatter_optimization specialization per WG21-P3235R3 "std::print More Types Faster With Less Memory".
Feature-test macro:
#define __cpp_lib_format_path 202506L
Note: We are not yet accepting PRs for C++26 features.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading WG21-P2845R8, WG21-P2319R5, LWG-4512, and WG21-P3235R3 referenced in the issue. Use the requested feature-test macro as the target signal, and confirm completion against the standard requirements, including the nonlocking formatter optimization specialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100