cpp/experimental/memory resource/do allocate

Allocates storage with a size of at least bytes. The returned storage is aligned to the specified if such alignment is supported, and to  otherwise.

shall be a power of two.

Exceptions
Throws an exception if storage of the requested size and alignment cannot be obtained.