This struct template provides a mechanism for determining whether a given (template parameter) ALLOCATOR_TYPE defines a nested alias named`propagate_on_container_swap`. 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 ALLOC>
struct AllocatorTraits_HasPropOnSwap;

Type Aliases

Name

Description

type

integral_constant for whether ALLOC defines propagate_on_container_swap.

Static Data Members

Name

Description

value

true if ALLOC defines a nested propagate_on_container_swap alias.

Created with MrDocs