Skip to content

constexpr uint128_wrapper - #2215

Merged
vitaut merged 3 commits into
fmtlib:masterfrom
jstaahl:jstaahl-constexpr-uint128_wrapper
Apr 7, 2021
Merged

vitaut merged 3 commits into
fmtlib:masterfrom
jstaahl:jstaahl-constexpr-uint128_wrapper

Conversation

@jstaahl

@jstaahl jstaahl commented Apr 6, 2021

Copy link
Copy Markdown
Contributor

I noticed a static initializer was introduced by the fmt library in our binary. It was attributed to:
include/fmt/format-inl.h#L387.

This can be avoided by making the uint128_wrapper constexpr.

@vitaut vitaut left a comment

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.

Thanks for the PR.

Comment thread include/fmt/format.h Outdated
@jstaahl
jstaahl requested a review from vitaut April 7, 2021 00:50
Comment thread include/fmt/format.h Outdated
@vitaut
vitaut merged commit 266107f into fmtlib:master Apr 7, 2021
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.

4 participants