cpp/memory/get temporary buffer

Allocates uninitialized contiguous storage, which should be sufficient to store up to adjacent objects of type. The request is non-binding and the implementation may allocate less or more than necessary to store adjacent objects.

Return value
A std holding a pointer to the beginning of the allocated storage and the number of objects that fit in the storage that was actually allocated.

If, no memory could be allocated, or allocated storage is not enough to store a single element of type , the element of the result is a null pointer and the  element is zero.