arximboldi / immer

Postmodern immutable and persistent data structures for C++ — value semantics at scale
https://sinusoid.es/immer
Boost Software License 1.0
2.48k stars 177 forks source link

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

Closed nicola-gigante closed 4 months ago

nicola-gigante commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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

nicola-gigante commented 4 months ago

You are welcome!