cpp/memory/synchronized pool resource/do allocate

Allocates storage.

If the pool selected for a block of size is unable to satisfy the request from its internal data structures, calls  on the upstream memory resource to obtain memory.

If the size requested is larger than what the largest pool can handle, memory is allocated by calling on the upstream memory resource.

Return value
A pointer to allocated storage of at least bytes in size, aligned to the specified  if such alignment is supported, and to  otherwise.

Exceptions
Throws nothing unless calling on the upstream memory resource throws.