Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fmt version #204

Closed
wants to merge 1 commit into from
Closed

Conversation

isherman
Copy link
Contributor

Building on #202, updates fmt to latest version so we do not have to pin to 8.1.

There were some changes between fmt 8.1 and 10.1 around support for std::ostream formatting -- it is now required to explicitly specialize a template to register an ostream formatter. This prevents possible ODR violation.

AFAIK the C++20-standardized std::format doesn't support ostream formatting at all. Long-term we may want to consider an approach that falls back to fmt only when standard library support is not present -- this would require moving away from relying on ostream formatting altogether.

@isherman isherman closed this Mar 11, 2024
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.

1 participant