You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new type MemSpan which represents a re-allocatable, contigious, mutable, owned collection.
It should not be used direclty, but instead serve as backing collection type for things like Vector and future collection types.
This should provide a safe interface to libc's realloc and also take care of ownership of the inner elements (when resizing or freeing)
Important for preventing errors!
(assign me please)
The text was updated successfully, but these errors were encountered:
A Sized<x> that "takes care of ownership of the inner elements" is interesting. The problem of safely typed memory allocations with only minimal structural typing is hard but worthwhile.
Add a new type MemSpan which represents a re-allocatable, contigious, mutable, owned collection.
It should not be used direclty, but instead serve as backing collection type for things like Vector and future collection types.
This should provide a safe interface to libc's realloc and also take care of ownership of the inner elements (when resizing or freeing)
Important for preventing errors!
(assign me please)
The text was updated successfully, but these errors were encountered: