-
Notifications
You must be signed in to change notification settings - Fork 39
Description
What
Currently ManagedMemoryResource provides a public API to access its underlying MemoryResourceProxy.
This is "bad" as it encourages any user of this ManagedMemoryResource interface to use it, which is NOT intended.
Only our PolymorphicOffsetPtrAllocator shall access it.
How
- Remove the public visibility of getMemoryResourceProxy() in ManagedMemoryResource
- Change the signature of the ctor of PolymorphicOffsetPtrAllocator to get a ManagedMemoryResource
- Only allow PolymorphicOffsetPtrAllocator to call getMemoryResourceProxy()
Estimates for realization
- Effort medium
- No impact on users expected
Category
- Affects Detailed Design
Requirements / Architecture
- Requirements / Architecture are not affected by this change?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog