[#BloombergLP-bslma-AllocatorTraits_HasDestroyMethod] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::AllocatorTraits_HasDestroyMethod :relfileprefix: ../../ :mrdocs: Metafunction that detects whether `T` provides a `destroy` method with the specified signature. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T, class Return, class... Args> struct AllocatorTraits_HasDestroyMethod; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/AllocatorTraits_HasDestroyMethod/type.adoc[`type`] | `integral_constant` for whether `T` has a `destroy` method with the specified signature. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/AllocatorTraits_HasDestroyMethod/value.adoc[`value`] | `true` if `T` has a `destroy` method with the specified signature. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#