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