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

makes implementations trivially destructible #2171

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

lemire
Copy link
Member

@lemire lemire commented Apr 24, 2024

This PR will make our static objects ('implementations' used for runtime dispatching) trivially destructible. Many compilers appear to never call the destructor when the class is trivially destructible. (This makes sense since the destructor is guaranteed to have no effect.)

cc @jkeiser

@lemire lemire merged commit c888075 into master Apr 24, 2024
78 of 79 checks passed
@lemire lemire deleted the making_implementation_trivially_destructible branch April 24, 2024 03:49
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.

None yet

1 participant