[#BloombergLP-bslstl-SharedPtrAllocateInplaceRep-makeRep] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtrAllocateInplaceRep.adoc[SharedPtrAllocateInplaceRep]::makeRep :relfileprefix: ../../../ :mrdocs: Create a `SharedPtrAllocateInplaceRep` object having storage for an in‐place uninitialized object of (template parameter) `TYPE`, 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 object. 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/SharedPtrAllocateInplaceRep.adoc[SharedPtrAllocateInplaceRep<TYPE, ALLOCATOR>]* makeRep(xref:BloombergLP/bslstl/SharedPtrAllocateInplaceRep/ReboundAllocator.adoc[ReboundAllocator] basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#