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

DynamicArray should use std.experimental.allocator.common.reallocate #176

Closed
JackStouffer opened this issue Sep 7, 2021 · 0 comments
Closed

Comments

@JackStouffer
Copy link

If Allocator does not define reallocate, then DynamicArray should see if std.experimental.allocator.common.reallocate compiles with the given allocator and use that.

This would allow dynamic arrays to be used with Region and InSituRegion, which don't define reallocate.

JackStouffer added a commit to JackStouffer/containers that referenced this issue Sep 7, 2021
CyberShadow added a commit that referenced this issue Sep 22, 2021
Fix Issue #176: DynamicArray should use std.experimental.allocator.common.reallocate
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

No branches or pull requests

2 participants