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

Update for C++ 20 compatibility #2774

Merged
merged 2 commits into from
Jul 2, 2024
Merged

Conversation

laramiel
Copy link
Contributor

Description

C++ 20 deprecates some std::allocator members. This PR updates xtensor allocators to work with C++20.

https://en.cppreference.com/w/cpp/memory/allocator

@laramiel
Copy link
Contributor Author

I think that the build checks need to be re-run.

@tdegeus
Copy link
Member

tdegeus commented Mar 19, 2024

Thanks! Looks good to me.

@tdegeus tdegeus added the C++20 label Mar 19, 2024
@JohanMabille
Copy link
Member

Thanks! and sorry for the late review

@JohanMabille JohanMabille merged commit 474cd38 into xtensor-stack:master Jul 2, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants