Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Replace deprecated std::aligned_storage with alternative #52

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

Merged
merged 1 commit into from
Aug 19, 2022
Merged

Replace deprecated std::aligned_storage with alternative #52

merged 1 commit into from
Aug 19, 2022

Conversation

TriangulumDesire
Copy link
Contributor

@TriangulumDesire TriangulumDesire commented Aug 13, 2022

std::aligned_storage is being deprecated in C++23 (more information here). Even though this is a C++11 library, some compilers will still emit warnings about it (such as when the header is included in a project that is compiled with C++20+).

This pull request replaces all uses of std::aligned_storage with alternatives suggested in this StackOverflow post and this section in cppreference.

@Amanieu Amanieu merged commit 4159da7 into Amanieu:master Aug 19, 2022
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.

2 participants