This struct template sets the boolean type for the attribute named propagate_on_container_copy_assignment to bsl::false_type if the given (template parameter) ALLOCATOR_TYPE does not define such an alias (i.e., false == AllocatorTraits_HasPropOnCopyAssign<ALLOCATOR_TYPE>::value).

Synopsis

Declared in <bslma_allocatortraits.h>

template<
    class ALLOCATOR_TYPE,
    bool = AllocatorTraits_HasPropOnCopyAssign<ALLOCATOR_TYPE>::value>
struct AllocatorTraits_PropOnCopyAssign
    : bsl::false_type

Base Classes

Name

Description

bsl::false_type

Metafunction representing the boolean constant false.

Specializations

Name

Description

AllocatorTraits_PropOnCopyAssign<ALLOC, true>

This struct template sets the boolean type for the attribute named propagate_on_container_copy_assignment to the nested type alias in the given (template parameter) ALLOCATOR_TYPE if ALLOCATOR_TYPE defines such an alias (i.e., true == AllocatorTraits_HasPropOnCopyAssign<ALLOCATOR_TYPE>::value).

Created with MrDocs