[#bsl-shared_ptr-0a-createInplace-00] = xref:bsl.adoc[bsl]::xref:bsl/shared_ptr-0a.adoc[shared_ptr]::createInplace :relfileprefix: ../../ :mrdocs: `createInplace` overloads == Synopses Declared in `<bslstl_sharedptr.h>` Create the managed object in‐place using the default allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/shared_ptr-0a/createInplace-07.adoc[createInplace](); ---- [.small]#xref:bsl/shared_ptr-0a/createInplace-07.adoc[_» more..._]# Create the managed object in‐place using `basicAllocator`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class... ARGS> void xref:bsl/shared_ptr-0a/createInplace-04.adoc[createInplace]( xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* basicAllocator, ARGS&&... args); ---- [.small]#xref:bsl/shared_ptr-0a/createInplace-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | allocator used to supply memory | *args* | constructor arguments forwarded to the new object |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#