pointer allocate | ( | size_type | n, |
allocator< void >::const_pointer | = 0 |
||
) |
Allocates an uninitialized memory to hold the specified number of objects of the type T
.
n | specifies a number of elements of type T that the returned memory can hold. |
Chusov::Exceptions::OutOfMemoryException | The allocator was unable to allocate the required amount of memory. |