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

Remove usage of std::aligned_storage to switch off deprecation warnings in C++23 #284

Merged
merged 3 commits into from
May 1, 2024

Conversation

nicola-gigante
Copy link
Contributor

This PR effectively adds a simple implementation of std::aligned_storage in the immer::detail namespace to avoid using the std one which causes deprecation warnings. This is meant to close #283.

@nicola-gigante
Copy link
Contributor Author

Hi! As you see some tests do not pass. I actually have some problems running them locally. I do not have Nix and as I work on macOS it's not very pleasant to install. Can I run the tests without Nix?

@nicola-gigante
Copy link
Contributor Author

Ok, now tests seem to pass except one that seems unrelated to the PR itself.

Copy link
Owner

@arximboldi arximboldi left a comment

Choose a reason for hiding this comment

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

Thank you a lot @nicola-gigante ! Merging :)

@arximboldi arximboldi merged commit bd9f318 into arximboldi:master May 1, 2024
17 of 20 checks passed
@nicola-gigante
Copy link
Contributor Author

You are welcome!

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.

Compiling in C++23 mode issues a deprecation warning for std::aligned_storage.
3 participants