fn toManaged(self: *Self, allocator: Allocator) ArrayListAligned(T, alignment)

Convert this list into an analogous memory-managed one. The returned list has ownership of the underlying memory.

Parameters

self: *Self,
allocator: Allocator,