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

Allocator doesn't seem to be implemented for Arc<A> #84

Closed
lachlansneff opened this issue Feb 6, 2021 · 1 comment
Closed

Allocator doesn't seem to be implemented for Arc<A> #84

lachlansneff opened this issue Feb 6, 2021 · 1 comment

Comments

@lachlansneff
Copy link

This has obvious usecases.

impl<A: Allocator + ?Sized, B: Allocator> Allocator for Arc<A, B> {
    ...
}
@TimDiekmann
Copy link
Member

TimDiekmann commented Feb 6, 2021

This was already proposed in #54, however the Rc and Arc part were removed as the allocator had to be mutable. I changed back the proposal to include it again. Adding a parameter to Arc is tracked in #7.

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