[#BloombergLP-bslstl-SharedPtrArrayAllocateInplaceRep-makeRep] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtrArrayAllocateInplaceRep.adoc[SharedPtrArrayAllocateInplaceRep]::makeRep :relfileprefix: ../../../ :mrdocs: Create a `SharedPtrArrayAllocateInplaceRep` object having storage for an in‐place uninitialized sized array of (template parameter) `TYPE` containing space for the specified `numElements` number of elements, and return its address. Use the specified `basicAllocator` to supply memory and, upon a call to `disposeRep`, to destroy this representation (and the in‐place shared object). Note that the function members `ptr` and `originalPtr` will return the address of an uninitialized array. This object should be explicitly initialized by the caller, and it is undefined behavior to call `disposeRep` until this object has been successfully constructed. == Synopsis Declared in `<bslstl_sharedptrallocateinplacerep.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslstl/SharedPtrArrayAllocateInplaceRep.adoc[SharedPtrArrayAllocateInplaceRep<TYPE, ALLOCATOR>]* makeRep( xref:BloombergLP/bslstl/SharedPtrArrayAllocateInplaceRep/ReboundAllocator.adoc[ReboundAllocator] basicAllocator, size_t numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#