Skip to content

P3391R2 constexpr std::format#8530

Merged
tkoeppe merged 1 commit into
cplusplus:mainfrom
eisenwave:motions-2025-11-lwg-21
Dec 15, 2025
Merged

P3391R2 constexpr std::format#8530
tkoeppe merged 1 commit into
cplusplus:mainfrom
eisenwave:motions-2025-11-lwg-21

Conversation

@eisenwave

@eisenwave eisenwave commented Nov 15, 2025

Copy link
Copy Markdown
Member

Fixes #8480
Fixes NB FR-028-271, US 167-270 (C++26 CD).

Also fixes cplusplus/papers#2046
Also fixes https://github.com/cplusplus/nbballot/issues/845
Also fixes https://github.com/cplusplus/nbballot/issues/846
Also fixes https://github.com/cplusplus/nbballot/issues/844

Also fixes cplusplus/papers#2102 (P3438R0 Make integral overloads of std::to_string constexpr)

@eisenwave eisenwave added this to the post-2025-11 milestone Nov 15, 2025
@eisenwave

Copy link
Copy Markdown
Member Author

I find it weird that this paper changes to_string and format without bumping __cpp_lib_to_string or __cpp_lib_format, but I guess that's for LWG to judge.

@eisenwave
eisenwave force-pushed the motions-2025-11-lwg-21 branch from b8a05e1 to b1ccb51 Compare November 15, 2025 19:37
@jwakely

jwakely commented Nov 16, 2025

Copy link
Copy Markdown
Member

I find it weird that this paper changes to_string and format without bumping __cpp_lib_to_string or __cpp_lib_format, but I guess that's for LWG to judge.

Yeah I guess we (LWG) should fix that.

@eisenwave
eisenwave requested a review from jwakely November 21, 2025 16:24
@frederick-vs-ja

Copy link
Copy Markdown
Contributor

It seems correct to me to add __cpp_lib_constexpr_format instead of bumping __cpp_lib_format. For the to_string part, I guess a more consistent fix would be bumping __cpp_lib_constexpr_string.

Fixes NB FR 028-271, US 167-270 (C++26 CD).
@tkoeppe
tkoeppe force-pushed the motions-2025-11-lwg-21 branch from b1ccb51 to cc63c64 Compare December 15, 2025 00:59
@tkoeppe
tkoeppe merged commit cf7608c into cplusplus:main Dec 15, 2025
2 checks passed
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.

[2025-11 LWG Motion 21] P3391R2 constexpr std::format P3438 R0 Make integral overloads of std::to_string constexpr P3391 R2 constexpr std::format

4 participants