[#BloombergLP-bslalg-DequePrimitives-01-destruct-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequePrimitives-01.adoc[DequePrimitives]::destruct :relfileprefix: ../../../ :mrdocs: `destruct` overloads == Synopses Declared in `<bslalg_dequeprimitives.h>` TBD: fix comment Call the destructor on each of the elements of a deque of parameterized `VALUE_TYPE` in the specified range `[begin .. end)]`. The behavior is undefined unless `begin <= end`. Note that this does not deallocate any memory (except memory deallocated by the element destructor calls). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR> static void xref:BloombergLP/bslalg/DequePrimitives-01/destruct-04.adoc[destruct]( xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] begin, xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] end, ALLOCATOR allocator); ---- [.small]#xref:BloombergLP/bslalg/DequePrimitives-01/destruct-04.adoc[_» more..._]# Same as the related overload above for `destruct`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR> static void xref:BloombergLP/bslalg/DequePrimitives-01/destruct-0d.adoc[destruct]( xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] begin, xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] end, ALLOCATOR allocator, xref:bsl/integral_constant-02.adoc[bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_BITWISE_COPYABLE_TRAITS>]); ---- [.small]#xref:BloombergLP/bslalg/DequePrimitives-01/destruct-0d.adoc[_» more..._]# Call the destructor on each of the elements of a deque of parameterized `VALUE_TYPE` in the specified range `[begin .. end)]`. The behavior is undefined unless `begin <= end`. Note that this does not deallocate any memory (except memory deallocated by the element destructor calls). Note that the last argument is for removing overload ambiguities and is not used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR> static void xref:BloombergLP/bslalg/DequePrimitives-01/destruct-00.adoc[destruct]( xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] begin, xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] end, ALLOCATOR allocator, xref:bsl/integral_constant-02.adoc[bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS>]); ---- [.small]#xref:BloombergLP/bslalg/DequePrimitives-01/destruct-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#