Return the allocation size in bytes for a representation of the given size.
Declared in <bslstl_sharedptrallocateinplacerep.h>
static
size_t
alloc_size(size_t numElements);
Return the size (in bytes) for an allocation to hold an object of type SharedPtrArrayAllocateInplaceRep<T[]> containing the specified numElements number of elements.
allocation size in bytes for a representation of the given size
| Name | Description |
|---|---|
| numElements | number of array elements to reserve space for |