[#BloombergLP-bslma-AllocatorTraits_HasSelectOnCopyMethod] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::AllocatorTraits_HasSelectOnCopyMethod :relfileprefix: ../../ :mrdocs: This `struct` template provides a mechanism for determining whether a given (template parameter) `ALLOCATOR_TYPE` defines a `const` member function named `select_on_container_copy_construction` that takes no arguments and returns an `ALLOCATOR_TYPE` object by value. The static boolean `value` (nested `type` alias) is `true` (`bsl::true_type`) if `ALLOCATOR_TYPE` defines such a method, and `false` (`bsl::false_type`) otherwise. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR_TYPE> struct AllocatorTraits_HasSelectOnCopyMethod; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/AllocatorTraits_HasSelectOnCopyMethod/type.adoc[`type`] | `integral_constant` for whether `ALLOCATOR_TYPE` defines `select_on_container_copy_construction`. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/AllocatorTraits_HasSelectOnCopyMethod/value.adoc[`value`] | `true` if `ALLOCATOR_TYPE` defines a `select_on_container_copy_construction` method. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#