BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::AllocatorTraits_PropOnSwap< ALLOC, bool > Struct Template Reference

#include <bslma_allocatortraits.h>

Inheritance diagram for bslma::AllocatorTraits_PropOnSwap< ALLOC, bool >:
bsl::integral_constant< t_TYPE, t_VAL >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< t_TYPE, t_VAL >
typedef t_TYPE value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< t_TYPE, t_VAL >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT
 Return t_VAL.
 
- Static Public Attributes inherited from bsl::integral_constant< t_TYPE, t_VAL >
static const t_TYPE value = t_VAL
 

Detailed Description

template<class ALLOC, bool = AllocatorTraits_HasPropOnSwap<ALLOC>::value>
struct bslma::AllocatorTraits_PropOnSwap< ALLOC, bool >

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


The documentation for this struct was generated from the following file: