[#BloombergLP-bslalg-ScalarPrimitives-destruct-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ScalarPrimitives.adoc[ScalarPrimitives]::destruct :relfileprefix: ../../../ :mrdocs: Destroy the specified `object` without deallocating its storage. == Synopses Declared in `<bslalg_scalarprimitives.h>` Destroy the specified `object` without deallocating its storage. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TARGET_TYPE> static void xref:BloombergLP/bslalg/ScalarPrimitives/destruct-00.adoc[destruct](TARGET_TYPE* object); ---- [.small]#xref:BloombergLP/bslalg/ScalarPrimitives/destruct-00.adoc[_» more..._]# Destroy the specified `object` without deallocating its storage. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TARGET_TYPE> static void xref:BloombergLP/bslalg/ScalarPrimitives/destruct-05.adoc[destruct]( TARGET_TYPE* object, void* allocator); ---- [.small]#xref:BloombergLP/bslalg/ScalarPrimitives/destruct-05.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *object* | object to destroy | *allocator* | unused allocator argument |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#