[#BloombergLP-bslstl-SharedPtr_DefaultDeleter-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtr_DefaultDeleter-06.adoc[SharedPtr_DefaultDeleter]<true> :relfileprefix: ../../ :mrdocs: This `struct` provides a function‐like shared pointer deleter that invokes `delete` with the passed pointer. If the template parameter is `true`, then the pointer is deleted using `operator delete []`. Otherwise, it is deleted using `operator delete`. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct xref:BloombergLP/bslstl/SharedPtr_DefaultDeleter-06.adoc[SharedPtr_DefaultDeleter]<true>; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/SharedPtr_DefaultDeleter-08/operator_call.adoc[`operator()`] | Call `delete` with the specified `ptr`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#