Skip to content

Replace alloc.destroy with std::allocator_traits<std::allocator<T>>::…#1

Open
tewk wants to merge 1 commit into
hcorrada:masterfrom
tewk:master
Open

Replace alloc.destroy with std::allocator_traits<std::allocator<T>>::…#1
tewk wants to merge 1 commit into
hcorrada:masterfrom
tewk:master

Conversation

@tewk

@tewk tewk commented Jun 16, 2020

Copy link
Copy Markdown

…destroy

C++20 fix, backwards compatible to C++11

https://en.cppreference.com/w/cpp/memory/allocator/destroy was remove in c++20. Replace with https://en.cppreference.com/w/cpp/memory/allocator_traits/destroy

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.

1 participant