cpp/memory/polymorphic allocator/allocate object

Allocates storage for objects of type  using the underlying memory resource.

If, throws std, otherwise equivalent to.

Return value
A pointer to the allocated storage.

Exceptions
Throws std if ; may also be any exceptions thrown by the call to.