BloombergLP::bslma::AllocatorTraits_HasPropOnCopyAssign

This struct template provides a mechanism for determining whether a given (template parameter) ALLOCATOR_TYPE defines a nested alias namedpropagate_on_container_copy_assignment. The static boolean member value (nested alias named type) is true (bsl::true_type) if ALLOCATOR_TYPE defines such an alias, and false (bsl::false_type) otherwise.

Synopsis

Declared in <bslma_allocatortraits.h>

template<class ALLOCATOR_TYPE>
struct AllocatorTraits_HasPropOnCopyAssign;

Type Aliases

NameDescription
type integral_constant for whether ALLOCATOR_TYPE defines propagate_on_container_copy_assignment.

Static Data Members

NameDescription
value true if ALLOCATOR_TYPE defines propagate_on_container_copy_assignment.