microsoft / microsoft/STL

P2845R8 Formatting `filesystem::path`

Open
#4,517 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cxx26 filesystem format
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.