[#BloombergLP-bslstl-SharedPtrUtil-createInplaceUninitializedBuffer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtrUtil.adoc[SharedPtrUtil]::createInplaceUninitializedBuffer :relfileprefix: ../../../ :mrdocs: Return a shared pointer with an in‐place representation holding a newly‐created uninitialized buffer of the specified `bufferSize` (in bytes). Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The behavior is undefined unless `0 < bufferSize`. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:bsl/shared_ptr-0a.adoc[bsl::shared_ptr<char>] createInplaceUninitializedBuffer( size_t bufferSize, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#