Returns a dynamically-typed
CSharedAllocator built around a given statically-
a of type
A. Passing a pointer to the allocator
creates a dynamic allocator around the allocator pointed to by the pointer,
without attempting to copy or move it. Passing the allocator by value or
reference behaves as follows.
Ahas no state, the resulting object is allocated in static shared storage.
Ahas state and is copyable, the result will
movethe supplied allocator
A awithin. The result itself is allocated in its own statically-typed allocator.
Ahas state and is not copyable, the result will move the passed-in argument into the result. The result itself is allocated in its own statically-typed allocator.