Skip to content

Fix compile time format for ranges, style and std#4759

Merged
vitaut merged 1 commit into
fmtlib:mainfrom
j4niwzis:main
May 31, 2026
Merged

Fix compile time format for ranges, style and std#4759
vitaut merged 1 commit into
fmtlib:mainfrom
j4niwzis:main

Conversation

@j4niwzis
Copy link
Copy Markdown
Contributor

Fix compile time format for ranges, style and std

@j4niwzis j4niwzis force-pushed the main branch 3 times, most recently from 915aad7 to be3ae4e Compare April 29, 2026 08:53
Copy link
Copy Markdown
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Overall looks good but please fix CI errors.

@j4niwzis
Copy link
Copy Markdown
Contributor Author

j4niwzis commented May 2, 2026

Thanks for the PR. Overall looks good but please fix CI errors.

It should work now

@vitaut
Copy link
Copy Markdown
Contributor

vitaut commented May 3, 2026

Lint error is unrelated (please rebase) but there are still errors that do look related.

@vitaut
Copy link
Copy Markdown
Contributor

vitaut commented May 22, 2026

@j4niwzis do you plan to update this PR?

@j4niwzis
Copy link
Copy Markdown
Contributor Author

There seem to be no errors now

Comment thread include/fmt/std.h

template <typename Context>
auto format(const std::exception& ex, Context& ctx) const
FMT_CONSTEXPR auto format(const std::exception& ex, Context& ctx) const
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will work because what() will only be constexpr in C++26.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway, this is a minor thing that can be addressed separately.

@vitaut vitaut merged commit 029d543 into fmtlib:main May 31, 2026
61 of 62 checks passed
@vitaut
Copy link
Copy Markdown
Contributor

vitaut commented May 31, 2026

Merged, thanks!

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