[#BloombergLP-bslalg-ArrayDestructionPrimitives-destroy-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ArrayDestructionPrimitives.adoc[ArrayDestructionPrimitives]::destroy :relfileprefix: ../../../ :mrdocs: Destroy each `TARGET_TYPE` in `[begin, end)]` using the destructor. == Synopsis Declared in `<bslalg_arraydestructionprimitives.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TARGET_TYPE> static void destroy( TARGET_TYPE* begin, TARGET_TYPE* end, xref:bsl/false_type.adoc[bsl::false_type] traits); ---- == Parameters [cols="1,4"] |=== | Name| Description | *begin* | beginning of the range of elements to destroy | *end* | end of the range of elements to destroy (one past the last) | *traits* | unused trait tag for overload resolution |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#