Skip to content

use allocator_traits::construct and destroy instead of placement new#36

Open
f9z wants to merge 1 commit intorigtorp:masterfrom
f9z:allocator_traits
Open

use allocator_traits::construct and destroy instead of placement new#36
f9z wants to merge 1 commit intorigtorp:masterfrom
f9z:allocator_traits

Conversation

@f9z
Copy link

@f9z f9z commented May 20, 2022

allow allocator to provide custom construction and destruction

@rigtorp
Copy link
Owner

rigtorp commented Sep 25, 2023

Isn't this only used for backward compatibility with pre C++20 allocators? In C++20 construct/destroy is no longer an extension point?

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