P3391R2 `constexpr` `std::format`
Open
Nobody has claimed this yet.
cxx26
format
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 1.7k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 22
Description
WG21-P3391R2 constexpr std::format
LWG-4531 Should there be a feature-test macro update for constexpr std::to_(w)string?
Feature-test macro:
#define __cpp_lib_constexpr_format 202511L
INCREASED feature-test macro:
#define __cpp_lib_constexpr_string 202511L
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
Read WG21-P3391R2 and LWG-4531 first; the issue identifies the proposed constexpr formatting work and the __cpp_lib_constexpr_format and __cpp_lib_constexpr_string macros. There are no files or tests named, and the issue states that PRs for C++26 features are not yet being accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100