Skip to content

Fix ambiguous formatter<std::optional<T>> between fmt/std.h and fmt/ranges.h on C++26 (P3168R2)#4761

Merged
vitaut merged 1 commit into
fmtlib:mainfrom
phprus:issue-4760
May 3, 2026
Merged

Fix ambiguous formatter<std::optional<T>> between fmt/std.h and fmt/ranges.h on C++26 (P3168R2)#4761
vitaut merged 1 commit into
fmtlib:mainfrom
phprus:issue-4760

Conversation

@phprus
Copy link
Copy Markdown
Contributor

@phprus phprus commented Apr 30, 2026

Issue: #4760

@indiosmo, please test this PR.

…anges.h on C++26 (P3168R2)

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
@phprus
Copy link
Copy Markdown
Contributor Author

phprus commented Apr 30, 2026

The clang-format error is not in the changes in the PR.

@vitaut vitaut merged commit 9cb8c0f into fmtlib:main May 3, 2026
43 of 44 checks passed
@vitaut
Copy link
Copy Markdown
Contributor

vitaut commented May 3, 2026

Thanks for the fix!

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.

2 participants