Takes ownership over value, setting the counter to 1. value may be a pointer, an object or a dynamic array.
Value whose ownership is taken over.
Allocator used to destroy the value and to allocate/deallocate internal storage.
Precondition: allocator !is null
See Implementation
Takes ownership over value, setting the counter to 1. value may be a pointer, an object or a dynamic array.