[#BloombergLP-bslma-AllocatorTraits_HasConstructMethod] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::AllocatorTraits_HasConstructMethod :relfileprefix: ../../ :mrdocs: This `struct` template provides a mechanism for determining whether a given (template parameter) `T` defines a `construct` method with the specified return type and argument types. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T, class Return, class... Args> struct AllocatorTraits_HasConstructMethod; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/AllocatorTraits_HasConstructMethod/type.adoc[`type`] | `integral_constant` for whether `T` has a `construct` method with the specified signature. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/AllocatorTraits_HasConstructMethod/value.adoc[`value`] | `true` if `T` has a `construct` method with the specified signature. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#